Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -19,8 +19,8 @@ def workout_interface(goal, days):
|
|
19 |
interface = gr.Interface(
|
20 |
fn=workout_interface,
|
21 |
inputs=[
|
22 |
-
gr.
|
23 |
-
gr.
|
24 |
],
|
25 |
outputs="text",
|
26 |
title="AI-Generated Workout Plan",
|
@@ -30,3 +30,4 @@ interface = gr.Interface(
|
|
30 |
# Launch the app
|
31 |
if __name__ == "__main__":
|
32 |
interface.launch()
|
|
|
|
19 |
interface = gr.Interface(
|
20 |
fn=workout_interface,
|
21 |
inputs=[
|
22 |
+
gr.Textbox(label="Goal (e.g., weight loss, muscle gain)", placeholder="Enter your goal"),
|
23 |
+
gr.Slider(minimum=1, maximum=30, value=1, label="Number of days")
|
24 |
],
|
25 |
outputs="text",
|
26 |
title="AI-Generated Workout Plan",
|
|
|
30 |
# Launch the app
|
31 |
if __name__ == "__main__":
|
32 |
interface.launch()
|
33 |
+
|