emvecchi commited on
Commit
1a02d46
1 Parent(s): 9a76d33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -1
app.py CHANGED
@@ -519,7 +519,9 @@ def add_checked_submit():
519
  check = st.checkbox('I agree', key='consent')
520
  add_validated_submit([check], "Please agree to give your consent to proceed")
521
 
522
-
 
 
523
  if st.session_state.current_index == -3:
524
  with st.form("data_form"):
525
  st.markdown(consent_text)
 
519
  check = st.checkbox('I agree', key='consent')
520
  add_validated_submit([check], "Please agree to give your consent to proceed")
521
 
522
+ if 'go_to' not in st.session_state:
523
+ st.session_state.go_to = 0
524
+
525
  if st.session_state.current_index == -3:
526
  with st.form("data_form"):
527
  st.markdown(consent_text)