Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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 |
|