kxqt commited on
Commit
b10bb04
1 Parent(s): cd34820

update layout

Browse files
Files changed (1) hide show
  1. app.py +13 -12
app.py CHANGED
@@ -71,18 +71,19 @@ def main():
71
  with gr.Row():
72
  with gr.Column():
73
  input_image = gr.Image(label="Input Image")
74
- points_per_side = gr.Dropdown(
75
- choices=[4, 6, 8, 12, 16, 32],
76
- value=12,
77
- label="Points per Side",
78
- )
79
- speed_mode = gr.Dropdown(
80
- choices=list(hourglass_args.keys()),
81
- value="baseline",
82
- label="Speed Mode",
83
- multiselect=False,
84
- )
85
- with gr.Column():
 
86
  run_btn = gr.Button(label="Run", id="run", value="Run")
87
  clear_btn = gr.Button(label="Clear", id="clear", value="Clear")
88
  with gr.Column():
 
71
  with gr.Row():
72
  with gr.Column():
73
  input_image = gr.Image(label="Input Image")
74
+ with gr.Row():
75
+ points_per_side = gr.Dropdown(
76
+ choices=[4, 6, 8, 12, 16, 32],
77
+ value=12,
78
+ label="Points per Side",
79
+ )
80
+ speed_mode = gr.Dropdown(
81
+ choices=list(hourglass_args.keys()),
82
+ value="baseline",
83
+ label="Speed Mode",
84
+ multiselect=False,
85
+ )
86
+ with gr.Row():
87
  run_btn = gr.Button(label="Run", id="run", value="Run")
88
  clear_btn = gr.Button(label="Clear", id="clear", value="Clear")
89
  with gr.Column():