Sina Media Lab
commited on
Commit
·
5f170a6
1
Parent(s):
e3d439b
Updates
Browse files
app.py
CHANGED
@@ -168,7 +168,6 @@ with st.form(key=f'question_form_{st.session_state.current_index}'):
|
|
168 |
"Choose an answer:",
|
169 |
options=current_question['options'],
|
170 |
index=current_question['options'].index(current_question['selected']) if current_question['answered'] else None,
|
171 |
-
disabled=current_question['answered'], # Disable if the question has been answered
|
172 |
key=f"question_{st.session_state.current_index}_options"
|
173 |
)
|
174 |
|
|
|
168 |
"Choose an answer:",
|
169 |
options=current_question['options'],
|
170 |
index=current_question['options'].index(current_question['selected']) if current_question['answered'] else None,
|
|
|
171 |
key=f"question_{st.session_state.current_index}_options"
|
172 |
)
|
173 |
|