ababio commited on
Commit
68b7123
1 Parent(s): 5cb16dd

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -92,7 +92,7 @@ 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 = st.text_area(label, 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
 
 
92
 
93
  # Add button to fill in sample text
94
  if st.button("Use Sample Text"):
95
+ user_input = st.text_area(label="Sample", 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.", disabled=True)
96
  else:
97
  user_input = st.text_area('Enter Text to Analyze')
98