Update src/streamlit_app.py
Browse files- 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
|
| 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 |
|