Sina Media Lab
commited on
Commit
·
9dd5a05
1
Parent(s):
660fa89
Updates
Browse files
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 |
-
|
158 |
-
|
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"):
|