Jegree commited on
Commit
2609dac
·
verified ·
1 Parent(s): 47f2534

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -67,7 +67,7 @@ if "question_no" not in st.session_state:
67
 
68
 
69
  if st.session_state.question_no == 2:
70
- progress = st.progress((st.session_state.question_no) - 2/ 8)
71
  age = st.text_input(f"How old are you?", key=st.session_state.question_no, placeholder="Type your answer")
72
  if st.button("Next->"):
73
  if not is_number(age):
 
67
 
68
 
69
  if st.session_state.question_no == 2:
70
+ progress = st.progress(0)
71
  age = st.text_input(f"How old are you?", key=st.session_state.question_no, placeholder="Type your answer")
72
  if st.button("Next->"):
73
  if not is_number(age):