trohith89 commited on
Commit
ae00c63
·
verified ·
1 Parent(s): 1ce6e15

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -144,10 +144,9 @@ with col1:
144
  unsafe_allow_html=True
145
  )
146
 
147
- # Use text input for the user to define a function
148
  func_input = st.text_input(
149
  "Enter a function of 'x':",
150
- st.session_state.func_input,
151
  key="func_input",
152
  on_change=reset_state
153
  )
 
144
  unsafe_allow_html=True
145
  )
146
 
147
+ # Use text input for the user to define a function, but no `value` argument
148
  func_input = st.text_input(
149
  "Enter a function of 'x':",
 
150
  key="func_input",
151
  on_change=reset_state
152
  )