Sina Media Lab commited on
Commit
2b47c54
·
1 Parent(s): 63a8505
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -179,7 +179,7 @@ if selected_answer:
179
  action = st.radio(
180
  "Choose an action:",
181
  ("Submit", "New"),
182
- index=0 if not current_question['answered'] else 1,
183
  key="action_radio",
184
  disabled=not st.session_state.submit_enabled and not st.session_state.new_enabled,
185
  horizontal=True
 
179
  action = st.radio(
180
  "Choose an action:",
181
  ("Submit", "New"),
182
+ index=-1, # Do not pre-select any action
183
  key="action_radio",
184
  disabled=not st.session_state.submit_enabled and not st.session_state.new_enabled,
185
  horizontal=True