emvecchi commited on
Commit
2575d78
·
verified ·
1 Parent(s): 35609d2

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -747,6 +747,7 @@ elif st.session_state.current_index == len(st.session_state.data):
747
  st.write(f"**Thank you for taking part in this study!** \n ")
748
  c1, c2, c3 = st.columns([1,5,2])
749
  step = st.session_state.step
 
750
  with c1:
751
  if st.button("<< Previous"):
752
  if step > 0:
 
747
  st.write(f"**Thank you for taking part in this study!** \n ")
748
  c1, c2, c3 = st.columns([1,5,2])
749
  step = st.session_state.step
750
+ total_steps = len(STEPS)
751
  with c1:
752
  if st.button("<< Previous"):
753
  if step > 0: