Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -1273,6 +1273,10 @@ def explanation_questions():
|
|
| 1273 |
logical_key = current_q["logical_key"]
|
| 1274 |
st.session_state[logical_key] = response
|
| 1275 |
st.session_state.explanation_step += 1
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1276 |
st.rerun()
|
| 1277 |
|
| 1278 |
|
|
|
|
| 1273 |
logical_key = current_q["logical_key"]
|
| 1274 |
st.session_state[logical_key] = response
|
| 1275 |
st.session_state.explanation_step += 1
|
| 1276 |
+
|
| 1277 |
+
# بررسی اینکه سوال بعدی هست یا نه
|
| 1278 |
+
if st.session_state.explanation_step >= len(questions):
|
| 1279 |
+
st.session_state.current_page = "demographic"
|
| 1280 |
st.rerun()
|
| 1281 |
|
| 1282 |
|