Jegree commited on
Commit
5afb196
·
verified ·
1 Parent(s): 1fc823d

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -120,7 +120,7 @@ elif st.session_state.question_no == 4:
120
 
121
  elif st.session_state.question_no == 5:
122
  progress = st.progress((st.session_state.question_no) / 10
123
- glucose = st.text_input(f"{st.session_state.question_no}Enter your glucose level", key=st.session_state.question_no)
124
  if st.button("Next->"):
125
  if not is_number(glucose):
126
  st.warning("Please enter a valid input!!!!")
@@ -150,7 +150,7 @@ elif st.session_state.question_no == 7:
150
 
151
  elif st.session_state.question_no == 8:
152
  progress = st.progress((st.session_state.question_no) / 10
153
- weight = st.text_input(f"{st.session_state.question_no}Enter your weight in KG")
154
  if st.button("Next->"):
155
  if not is_number(weight):
156
  st.warning("Please enter valid input!!!")
 
120
 
121
  elif st.session_state.question_no == 5:
122
  progress = st.progress((st.session_state.question_no) / 10
123
+ glucose = st.text_input(f"Enter your glucose level", key=st.session_state.question_no)
124
  if st.button("Next->"):
125
  if not is_number(glucose):
126
  st.warning("Please enter a valid input!!!!")
 
150
 
151
  elif st.session_state.question_no == 8:
152
  progress = st.progress((st.session_state.question_no) / 10
153
+ weight = st.text_input(f"Enter your weight in KG")
154
  if st.button("Next->"):
155
  if not is_number(weight):
156
  st.warning("Please enter valid input!!!")