Spaces:
Runtime error
Runtime error
update layout
Browse files
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 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
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():
|