Spaces:
Paused
Paused
Maryam Ilka commited on
Update app.py
Browse files
app.py
CHANGED
|
@@ -544,10 +544,8 @@ def attention_check1():
|
|
| 544 |
key="attention_check1"
|
| 545 |
)
|
| 546 |
|
| 547 |
-
if
|
| 548 |
-
st.session_state.
|
| 549 |
-
"attention_check1": attention_check1
|
| 550 |
-
}
|
| 551 |
st.session_state.current_page = "random_likert_questions"
|
| 552 |
st.rerun()
|
| 553 |
|
|
@@ -570,10 +568,8 @@ def attention_check2():
|
|
| 570 |
key="attention_check2"
|
| 571 |
)
|
| 572 |
|
| 573 |
-
if attention_check2:
|
| 574 |
-
st.session_state.
|
| 575 |
-
"attention_check2": attention_check2
|
| 576 |
-
}
|
| 577 |
st.session_state.current_page = "explanation_questions"
|
| 578 |
st.rerun()
|
| 579 |
|
|
|
|
| 544 |
key="attention_check1"
|
| 545 |
)
|
| 546 |
|
| 547 |
+
if attention_check1:
|
| 548 |
+
st.session_state.attention_check1 = attention_check1 # ذخیره در session_state
|
|
|
|
|
|
|
| 549 |
st.session_state.current_page = "random_likert_questions"
|
| 550 |
st.rerun()
|
| 551 |
|
|
|
|
| 568 |
key="attention_check2"
|
| 569 |
)
|
| 570 |
|
| 571 |
+
if attention_check2:
|
| 572 |
+
st.session_state.attention_check2 = attention_check2 # ذخیره در session_state
|
|
|
|
|
|
|
| 573 |
st.session_state.current_page = "explanation_questions"
|
| 574 |
st.rerun()
|
| 575 |
|