anunay999 commited on
Commit
0c34c3e
·
1 Parent(s): 9effc5f

control layout

Browse files
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -12,12 +12,11 @@ def generate_meal_plan(age, gender, current_weight, desired_weight, goal, restri
12
 
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
  with gr.Row():
20
  with gr.Column(scale=1, min_width=600):
 
 
 
21
  des_w = gr.Number(label='desired Weight')
22
  goal = gr.Dropdown(label='goal', choices=['weight loss', 'muscle gain', 'maintenance', 'healthy'])
23
  rest = gr.Textbox(label='restrictions', lines=5,
 
12
 
13
  with gr.Blocks() as interface:
14
  gr.Markdown("Generate a meal plan based on the configured parameters")
 
 
 
 
15
  with gr.Row():
16
  with gr.Column(scale=1, min_width=600):
17
+ age = gr.Number(label='age')
18
+ gender = gr.Dropdown(label='gender', choices=['male', 'female'])
19
+ cur_w = gr.Number(label='current weight')
20
  des_w = gr.Number(label='desired Weight')
21
  goal = gr.Dropdown(label='goal', choices=['weight loss', 'muscle gain', 'maintenance', 'healthy'])
22
  rest = gr.Textbox(label='restrictions', lines=5,