ababio commited on
Commit
bcc9428
·
verified ·
1 Parent(s): 0c23cf6

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -92,10 +92,13 @@ st.write("Write or paste any number of document texts to analyse the emotion per
92
 
93
  # Add button to fill in sample text
94
  if st.button("Use Sample Text"):
95
- user_input = "Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella. She had spent her entire life in this village, raising her children and caring for her garden, which was the most beautiful in the region. Her husband, Marco, had passed away many years ago, leaving her with a heart full of memories and a small, quaint house that overlooked the lush vineyards."
96
  else:
97
  user_input = st.text_area('Enter Text to Analyze')
98
 
 
 
 
99
  button = st.button("Analyze")
100
 
101
 
 
92
 
93
  # Add button to fill in sample text
94
  if st.button("Use Sample Text"):
95
+ user_input = st.text_area(value="Once, in a small village nestled in the rolling hills of Tuscany, lived an elderly woman named Isabella. She had spent her entire life in this village, raising her children and caring for her garden, which was the most beautiful in the region. Her husband, Marco, had passed away many years ago, leaving her with a heart full of memories and a small, quaint house that overlooked the lush vineyards.")
96
  else:
97
  user_input = st.text_area('Enter Text to Analyze')
98
 
99
+
100
+ # user_input = st.text_input(label, value=ur_input, height=None, max_chars=None, key=None, help=None, on_change=None, args=None, kwargs=None, *, placeholder=None, disabled=False, label_visibility="visible")
101
+
102
  button = st.button("Analyze")
103
 
104