Update app.py
Browse files
app.py
CHANGED
@@ -84,7 +84,11 @@ def main():
|
|
84 |
st.write(problem[current_formulation])
|
85 |
|
86 |
# Menu déroulant pour la notation
|
87 |
-
|
|
|
|
|
|
|
|
|
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 |
-
'
|
|
|
|
|
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:
|