Update app.py
Browse files
app.py
CHANGED
|
@@ -222,7 +222,7 @@ st.markdown(
|
|
| 222 |
border-radius: 8px;
|
| 223 |
padding: 15px;
|
| 224 |
margin: 15px 0;
|
| 225 |
-
background-color: #
|
| 226 |
}
|
| 227 |
.sidebar {
|
| 228 |
background-color: #ffffff; /* Sidebar background color */
|
|
@@ -302,12 +302,10 @@ if st.session_state.questions:
|
|
| 302 |
if st.session_state.question_index > 0:
|
| 303 |
if st.button("Previous"):
|
| 304 |
st.session_state.question_index -= 1
|
| 305 |
-
st.experimental_rerun()
|
| 306 |
with col2:
|
| 307 |
if st.session_state.question_index < len(st.session_state.questions) - 1:
|
| 308 |
if st.button("Next"):
|
| 309 |
st.session_state.question_index += 1
|
| 310 |
-
st.experimental_rerun()
|
| 311 |
|
| 312 |
st.header("🗣️ Provide Feedback")
|
| 313 |
answer = st.text_area("Submit Your Answer", key="text_area_answer")
|
|
|
|
| 222 |
border-radius: 8px;
|
| 223 |
padding: 15px;
|
| 224 |
margin: 15px 0;
|
| 225 |
+
background-color: #f9f9f9;
|
| 226 |
}
|
| 227 |
.sidebar {
|
| 228 |
background-color: #ffffff; /* Sidebar background color */
|
|
|
|
| 302 |
if st.session_state.question_index > 0:
|
| 303 |
if st.button("Previous"):
|
| 304 |
st.session_state.question_index -= 1
|
|
|
|
| 305 |
with col2:
|
| 306 |
if st.session_state.question_index < len(st.session_state.questions) - 1:
|
| 307 |
if st.button("Next"):
|
| 308 |
st.session_state.question_index += 1
|
|
|
|
| 309 |
|
| 310 |
st.header("🗣️ Provide Feedback")
|
| 311 |
answer = st.text_area("Submit Your Answer", key="text_area_answer")
|