Spaces:
Running
Running
Update app.py
Browse files
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)
|