emvecchi commited on
Commit
390fd45
·
verified ·
1 Parent(s): 684844a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -13
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
- data = read_saved_data()
890
- if data is None:
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