Spaces:
Build error
Build error
Upload app.py
Browse files
app.py
CHANGED
|
@@ -143,16 +143,29 @@ if st.session_state.page == "evaluation":
|
|
| 143 |
if st.session_state.current_index+1 > NUM_PAIRS:
|
| 144 |
|
| 145 |
st.markdown("<h4>How confident were you in your answers?</h4>", unsafe_allow_html=True)
|
| 146 |
-
confidence = st.select_slider(
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 147 |
" ",
|
| 148 |
-
|
| 149 |
"Not confident at all",
|
| 150 |
"Slightly confident",
|
| 151 |
"Moderately confident",
|
| 152 |
"Very confident",
|
| 153 |
"Extremely confident"
|
| 154 |
],
|
| 155 |
-
|
|
|
|
| 156 |
)
|
| 157 |
|
| 158 |
if st.button("Submit"):
|
|
|
|
| 143 |
if st.session_state.current_index+1 > NUM_PAIRS:
|
| 144 |
|
| 145 |
st.markdown("<h4>How confident were you in your answers?</h4>", unsafe_allow_html=True)
|
| 146 |
+
# confidence = st.select_slider(
|
| 147 |
+
# " ",
|
| 148 |
+
# options=[
|
| 149 |
+
# "Not confident at all",
|
| 150 |
+
# "Slightly confident",
|
| 151 |
+
# "Moderately confident",
|
| 152 |
+
# "Very confident",
|
| 153 |
+
# "Extremely confident"
|
| 154 |
+
# ],
|
| 155 |
+
# value="Moderately confident",
|
| 156 |
+
# )
|
| 157 |
+
|
| 158 |
+
confidence = st.radio(
|
| 159 |
" ",
|
| 160 |
+
[
|
| 161 |
"Not confident at all",
|
| 162 |
"Slightly confident",
|
| 163 |
"Moderately confident",
|
| 164 |
"Very confident",
|
| 165 |
"Extremely confident"
|
| 166 |
],
|
| 167 |
+
index=2,
|
| 168 |
+
horizontal=True
|
| 169 |
)
|
| 170 |
|
| 171 |
if st.button("Submit"):
|