yachay commited on
Commit
f420f1e
·
1 Parent(s): 71e2ad9

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -112,7 +112,7 @@ for example in example_texts:
112
  st.session_state.text_input_state = example
113
 
114
  # Get text input and update session state when it's modified
115
- text_input = st.text_input('Enter your text:', value=st.session_state.text_input_state, key='my_text_input)
116
  if text_input != st.session_state.text_input_state:
117
  st.session_state.text_input_state = text_input
118
 
 
112
  st.session_state.text_input_state = example
113
 
114
  # Get text input and update session state when it's modified
115
+ text_input = st.text_input('Enter your text:', value=st.session_state.text_input_state, key='my_text_input')
116
  if text_input != st.session_state.text_input_state:
117
  st.session_state.text_input_state = text_input
118