emvecchi commited on
Commit
807eec0
·
verified ·
1 Parent(s): d288dbf

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -629,7 +629,7 @@ 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(-1)
633
 
634
  # Navigation buttons
635
  if 0 < 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(-2)
633
 
634
  # Navigation buttons
635
  if 0 < st.session_state.current_index < len(st.session_state.data):