ababio commited on
Commit
82f988d
1 Parent(s): 711cd18

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -89,7 +89,7 @@ sample_text = ("Once, in a small village nestled in the rolling hills of Tuscany
89
 
90
  # Add button to fill in sample text
91
  if st.button("Use Sample Text"):
92
- user_input = sample_text
93
  else:
94
  user_input = st.text_area('Enter Text to Analyze')
95
 
 
89
 
90
  # Add button to fill in sample text
91
  if st.button("Use Sample Text"):
92
+ user_input = st.text_input(value=sample_text)
93
  else:
94
  user_input = st.text_area('Enter Text to Analyze')
95