Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -886,19 +886,8 @@ if 'current_index' not in st.session_state:
|
|
| 886 |
st.session_state.current_index = start_index+1
|
| 887 |
st.session_state.form_displayed = -2
|
| 888 |
|
| 889 |
-
|
| 890 |
-
|
| 891 |
-
st.session_state.step = 0
|
| 892 |
-
else:
|
| 893 |
-
for s, page_fields in enumerate(STEPS):
|
| 894 |
-
if not page_completed(page_fields, data, st.session_state.current_index):
|
| 895 |
-
st.session_state.step = s
|
| 896 |
-
break
|
| 897 |
-
else:
|
| 898 |
-
st.session_state.step = len(STEPS) - 1
|
| 899 |
-
else:
|
| 900 |
-
if 'step' not in st.session_state:
|
| 901 |
-
st.session_state.step = 0
|
| 902 |
|
| 903 |
if get_param_from_url('show_extra_fields'):
|
| 904 |
fields1 += url_conditional_fields
|
|
|
|
| 886 |
st.session_state.current_index = start_index+1
|
| 887 |
st.session_state.form_displayed = -2
|
| 888 |
|
| 889 |
+
if 'step' not in st.session_state:
|
| 890 |
+
st.session_state.step = 0
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 891 |
|
| 892 |
if get_param_from_url('show_extra_fields'):
|
| 893 |
fields1 += url_conditional_fields
|