Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -629,10 +629,10 @@ elif st.session_state.current_index < len(st.session_state.data):
|
|
| 629 |
elif st.session_state.current_index == len(st.session_state.data):
|
| 630 |
st.write(f"**Thank you for taking part in this study!** \n ")
|
| 631 |
if st.button("Previous"):
|
| 632 |
-
navigate(-
|
| 633 |
|
| 634 |
# Navigation buttons
|
| 635 |
-
if
|
| 636 |
if st.button("Previous"):
|
| 637 |
navigate(-1)
|
| 638 |
|
|
|
|
| 629 |
elif st.session_state.current_index == len(st.session_state.data):
|
| 630 |
st.write(f"**Thank you for taking part in this study!** \n ")
|
| 631 |
if st.button("Previous"):
|
| 632 |
+
navigate(-1)
|
| 633 |
|
| 634 |
# Navigation buttons
|
| 635 |
+
if 0 < st.session_state.current_index < len(st.session_state.data):
|
| 636 |
if st.button("Previous"):
|
| 637 |
navigate(-1)
|
| 638 |
|