Sina Media Lab
commited on
Commit
·
5efa76f
1
Parent(s):
4b264b4
Updates
Browse files
app.py
CHANGED
@@ -187,7 +187,8 @@ if submit_button:
|
|
187 |
if selected_answer is None:
|
188 |
st.warning("Please select an option before submitting.")
|
189 |
else:
|
190 |
-
|
|
|
191 |
|
192 |
if not current_question['answered']:
|
193 |
# Process the answer
|
|
|
187 |
if selected_answer is None:
|
188 |
st.warning("Please select an option before submitting.")
|
189 |
else:
|
190 |
+
# Increment the click counter as soon as the button is clicked
|
191 |
+
st.session_state.submit_click_count += 1
|
192 |
|
193 |
if not current_question['answered']:
|
194 |
# Process the answer
|