Spaces:
Running
Running
Nbiish Kenwabikise
commited on
Commit
•
6d37acf
1
Parent(s):
87bd119
Readability
Browse files
app.py
CHANGED
@@ -37,7 +37,8 @@ st.write("""* Purpose of the training system is to increase human energy substan
|
|
37 |
unit = st.sidebar.selectbox("Choose a unit of weight", ["pounds", "kilograms"])
|
38 |
|
39 |
# Create a text input field for the user to enter their weight
|
40 |
-
|
|
|
41 |
|
42 |
# Convert the weight to the selected unit
|
43 |
if unit == "pounds":
|
|
|
37 |
unit = st.sidebar.selectbox("Choose a unit of weight", ["pounds", "kilograms"])
|
38 |
|
39 |
# Create a text input field for the user to enter their weight
|
40 |
+
st.markdown("### Enter your weight below")
|
41 |
+
weight = st.number_input("Weight:", value=1)
|
42 |
|
43 |
# Convert the weight to the selected unit
|
44 |
if unit == "pounds":
|