Spaces:
Running
Running
fix markdown output
Browse files
app.py
CHANGED
|
@@ -21,12 +21,13 @@ with gr.Blocks() as interface:
|
|
| 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 |
gr.Markdown("## Generated Meal Plan")
|
| 26 |
text_output = gr.Markdown()
|
| 27 |
|
| 28 |
text_button = gr.Button("Generate")
|
| 29 |
-
text_button.click(generate_meal_plan, inputs=[age, gender, cur_w, des_w, goal, rest, pref], outputs=
|
| 30 |
|
| 31 |
interface.launch()
|
| 32 |
|
|
|
|
| 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")
|
| 27 |
text_output = gr.Markdown()
|
| 28 |
|
| 29 |
text_button = gr.Button("Generate")
|
| 30 |
+
text_button.click(generate_meal_plan, inputs=[age, gender, cur_w, des_w, goal, rest, pref], outputs=text_output)
|
| 31 |
|
| 32 |
interface.launch()
|
| 33 |
|