Sina Media Lab commited on
Commit
9dd5a05
·
1 Parent(s): 660fa89
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -154,8 +154,8 @@ if not current_question.get('answered', False):
154
  selected_answer = st.radio(
155
  "Choose an answer:",
156
  options=current_question['options'],
157
- index=-1, # Ensures no option is pre-selected
158
- key=f"question_{st.session_state.current_index}"
159
  )
160
 
161
  if st.button("Submit"):
 
154
  selected_answer = st.radio(
155
  "Choose an answer:",
156
  options=current_question['options'],
157
+ key=f"question_{st.session_state.current_index}",
158
+ index=None # No pre-selection
159
  )
160
 
161
  if st.button("Submit"):