BeardedMonster commited on
Commit
ca70f03
·
verified ·
1 Parent(s): 691173b

update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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[user_input], user_input)
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: