anunay999 commited on
Commit
4eb80f4
·
1 Parent(s): ba27019

fix markdown output

Browse files
Files changed (1) hide show
  1. app.py +5 -5
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")