Spaces:
Running
Running
fix markdown output
Browse files
app.py
CHANGED
|
@@ -13,14 +13,14 @@ def generate_meal_plan(age, gender,current_weight, desired_weight, goal, restric
|
|
| 13 |
with gr.Blocks() as interface:
|
| 14 |
gr.Markdown("Generate a meal plan based on the configured parameters")
|
| 15 |
with gr.Row():
|
| 16 |
-
age = gr.Number(label='age')
|
| 17 |
-
gender = gr.Dropdown(label='gender', choices=['male', 'female'])
|
| 18 |
-
cur_w = gr.Number(label='current weight')
|
| 19 |
des_w = gr.Number(label='desired Weight'),
|
| 20 |
-
goal = gr.Dropdown(label='goal', choices=['weight loss', 'muscle gain', 'maintenance', 'healthy'])
|
| 21 |
rest = gr.Textbox(label='restrictions', lines=5,
|
| 22 |
placeholder="Enter your restrictions (dietary"
|
| 23 |
-
", allergies)")
|
| 24 |
pref = gr.Textbox(label='preferences', lines=3, placeholder="Enter your food preferences (likes, dislikes, "
|
| 25 |
"cuisines)")
|
| 26 |
gr.Markdown("## Generated Meal Plan")
|
|
|
|
| 13 |
with gr.Blocks() as interface:
|
| 14 |
gr.Markdown("Generate a meal plan based on the configured parameters")
|
| 15 |
with gr.Row():
|
| 16 |
+
age = gr.Number(label='age')
|
| 17 |
+
gender = gr.Dropdown(label='gender', choices=['male', 'female'])
|
| 18 |
+
cur_w = gr.Number(label='current weight')
|
| 19 |
des_w = gr.Number(label='desired Weight'),
|
| 20 |
+
goal = gr.Dropdown(label='goal', choices=['weight loss', 'muscle gain', 'maintenance', 'healthy'])
|
| 21 |
rest = gr.Textbox(label='restrictions', lines=5,
|
| 22 |
placeholder="Enter your restrictions (dietary"
|
| 23 |
+
", allergies)")
|
| 24 |
pref = gr.Textbox(label='preferences', lines=3, placeholder="Enter your food preferences (likes, dislikes, "
|
| 25 |
"cuisines)")
|
| 26 |
gr.Markdown("## Generated Meal Plan")
|