adrienbrdne commited on
Commit
29bf188
·
verified ·
1 Parent(s): e776b79

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +8 -2
app.py CHANGED
@@ -84,7 +84,11 @@ def main():
84
  st.write(problem[current_formulation])
85
 
86
  # Menu déroulant pour la notation
87
- score = st.radio("Rate the problem:", options=[0, 1, 2, 3, 4, 5, "Don't know"], index=None,)
 
 
 
 
88
 
89
  # Bouton pour passer à la formulation suivante ou à la problématique suivante
90
  if st.button("Next"):
@@ -94,7 +98,9 @@ def main():
94
  'user': st.session_state.user,
95
  'formulation': current_formulation,
96
  'problematic': problem[current_formulation],
97
- 'score': score
 
 
98
  })
99
  st.session_state.formulation_index += 1
100
  if st.session_state.formulation_index == 4:
 
84
  st.write(problem[current_formulation])
85
 
86
  # Menu déroulant pour la notation
87
+ st.write("Rate the problem on the following three criteria:")
88
+
89
+ specificity = st.radio("Specificity", options=[0, 1, 2, 3, 4, 5, "Don't know"], index=None)
90
+ clarity = st.radio("Clarity", options=[0, 1, 2, 3, 4, 5, "Don't know"], index=None)
91
+ priority = st.radio("Priority Order", options=[0, 1, 2, 3, 4, 5, "Don't know"], index=None)
92
 
93
  # Bouton pour passer à la formulation suivante ou à la problématique suivante
94
  if st.button("Next"):
 
98
  'user': st.session_state.user,
99
  'formulation': current_formulation,
100
  'problematic': problem[current_formulation],
101
+ 'specificity': specificity,
102
+ 'clarity': clarity,
103
+ 'priority': priority
104
  })
105
  st.session_state.formulation_index += 1
106
  if st.session_state.formulation_index == 4: