Sina Media Lab
commited on
Commit
·
4cdcf33
1
Parent(s):
ce2a304
Updates
Browse files
app.py
CHANGED
@@ -172,7 +172,7 @@ with st.form(key=f'question_form_{st.session_state.current_index}'):
|
|
172 |
)
|
173 |
|
174 |
# Determine button label
|
175 |
-
button_label = "
|
176 |
|
177 |
submit_button = st.form_submit_button(label=button_label)
|
178 |
|
|
|
172 |
)
|
173 |
|
174 |
# Determine button label
|
175 |
+
button_label = "Next Question" if st.session_state.show_next_button else "Submit"
|
176 |
|
177 |
submit_button = st.form_submit_button(label=button_label)
|
178 |
|