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