Spaces:
Sleeping
Sleeping
BeardedMonster
commited on
update app.py
Browse files
app.py
CHANGED
@@ -141,7 +141,7 @@ def wrap_text(text, task_value):
|
|
141 |
|
142 |
# Text input
|
143 |
user_input = st.text_area("Enter text below **(please, first read the instructions on how to use in the side bar for better experience)**: ", sample_texts[sample_text])
|
144 |
-
user_input = instruction_wrap.get(sample_texts
|
145 |
|
146 |
if st.button("Generate"):
|
147 |
if user_input:
|
|
|
141 |
|
142 |
# Text input
|
143 |
user_input = st.text_area("Enter text below **(please, first read the instructions on how to use in the side bar for better experience)**: ", sample_texts[sample_text])
|
144 |
+
user_input = instruction_wrap.get(sample_texts.get(user_input, user_input), user_input)
|
145 |
|
146 |
if st.button("Generate"):
|
147 |
if user_input:
|