Spaces:
Running
on
Zero
Running
on
Zero
ZhengPeng7
commited on
Commit
•
70ae798
1
Parent(s):
87d115a
Adapt the box sizes.
Browse files
app.py
CHANGED
@@ -65,8 +65,8 @@ def pred_maps(image_1, image_2, image_3, image_4):
|
|
65 |
N = 4
|
66 |
# examples = [[_] for _ in glob('example_images/butterfly/*')][:N]
|
67 |
|
68 |
-
ipt = [gr.Image(width=600, height=
|
69 |
-
opt = [gr.Image(width=600, height=
|
70 |
demo = gr.Interface(
|
71 |
fn=pred_maps,
|
72 |
inputs=ipt,
|
|
|
65 |
N = 4
|
66 |
# examples = [[_] for _ in glob('example_images/butterfly/*')][:N]
|
67 |
|
68 |
+
ipt = [gr.Image(width=600, height=300) for _ in range(N)]
|
69 |
+
opt = [gr.Image(width=600, height=300) for _ in range(N)]
|
70 |
demo = gr.Interface(
|
71 |
fn=pred_maps,
|
72 |
inputs=ipt,
|