Sina Media Lab commited on
Commit
2a66585
·
1 Parent(s): 2690f31
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -185,7 +185,7 @@ action = st.radio(
185
  index=None, # Do not pre-select any action
186
  key="action_radio",
187
  horizontal=True,
188
- disabled=option_disabled # Disable when the question is already answered
189
  )
190
 
191
  # Go! button to execute the selected action
 
185
  index=None, # Do not pre-select any action
186
  key="action_radio",
187
  horizontal=True,
188
+ disabled=option_disabled and action != "New" # Disable submit when the question is already answered, but not "New"
189
  )
190
 
191
  # Go! button to execute the selected action