Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -28,7 +28,8 @@ goal = st.selectbox(
|
|
| 28 |
|
| 29 |
equipment = st.multiselect(
|
| 30 |
"Available Equipment (Select multiple if available)",
|
| 31 |
-
["Dumbbells", "Resistance Band", "Yoga Mat", "
|
|
|
|
| 32 |
)
|
| 33 |
|
| 34 |
fitness_level = st.radio(
|
|
@@ -59,7 +60,7 @@ def bmi_category(bmi):
|
|
| 59 |
# Submit Button
|
| 60 |
# -------------------------
|
| 61 |
|
| 62 |
-
if st.button("
|
| 63 |
|
| 64 |
# Validation
|
| 65 |
if not name or height_cm <= 0 or weight_kg <= 0:
|
|
|
|
| 28 |
|
| 29 |
equipment = st.multiselect(
|
| 30 |
"Available Equipment (Select multiple if available)",
|
| 31 |
+
["Dumbbells", "Resistance Band", "Yoga Mat", "Skipping Rope",
|
| 32 |
+
"Weight Plates", "Cycling", "Inclined Bench", "Pullups Bar", "No Equipment"]
|
| 33 |
)
|
| 34 |
|
| 35 |
fitness_level = st.radio(
|
|
|
|
| 60 |
# Submit Button
|
| 61 |
# -------------------------
|
| 62 |
|
| 63 |
+
if st.button(" Generate 5-day workout plan"):
|
| 64 |
|
| 65 |
# Validation
|
| 66 |
if not name or height_cm <= 0 or weight_kg <= 0:
|