GSMEthesis commited on
Commit
e3a1270
·
verified ·
1 Parent(s): a3ef67e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1235,7 +1235,7 @@ def random_likert_questions():
1235
  # نمایش تمام سوالات این گروه
1236
  for question in current_group['questions']:
1237
  answer = enhanced_likert_scale(question)
1238
- st.session_state[question["key"]] = answer # ذخیره پاسخ با کلید اصلی
1239
 
1240
  # دکمه ادامه/اتمام
1241
  button_label = "ادامه به گروه بعدی" if st.session_state.current_likert_group < len(question_groups)-1 else "اتمام پرسشنامه"
 
1235
  # نمایش تمام سوالات این گروه
1236
  for question in current_group['questions']:
1237
  answer = enhanced_likert_scale(question)
1238
+ st.session_state.answers[question["key"]] = answer
1239
 
1240
  # دکمه ادامه/اتمام
1241
  button_label = "ادامه به گروه بعدی" if st.session_state.current_likert_group < len(question_groups)-1 else "اتمام پرسشنامه"