Harry2406 commited on
Commit
2b60565
·
verified ·
1 Parent(s): 35a4554

Update src/streamlit_app.py

Browse files
Files changed (1) hide show
  1. src/streamlit_app.py +1 -1
src/streamlit_app.py CHANGED
@@ -107,7 +107,7 @@ if st.button(" Submit Profile"):
107
 
108
  st.error("Please enter your name.")
109
 
110
- elif height <= 0 or weight <= 0:
111
 
112
  st.error("Please enter valid height and weight.")
113
 
 
107
 
108
  st.error("Please enter your name.")
109
 
110
+ elif height >= 0 or weight >= 0:
111
 
112
  st.error("Please enter valid height and weight.")
113