Update app.py
Browse files
app.py
CHANGED
|
@@ -410,7 +410,7 @@ with gr.Blocks(
|
|
| 410 |
with gr.Column(scale=1, elem_classes="upload-image-col"):
|
| 411 |
im_match_in1 = gr.Image(
|
| 412 |
type='filepath',
|
| 413 |
-
height=
|
| 414 |
label="First Image",
|
| 415 |
show_download_button=False
|
| 416 |
)
|
|
@@ -422,14 +422,15 @@ with gr.Blocks(
|
|
| 422 |
"assets/4.jpg",
|
| 423 |
],
|
| 424 |
inputs=im_match_in1,
|
| 425 |
-
label="First Image Examples"
|
|
|
|
| 426 |
)
|
| 427 |
|
| 428 |
# Second Image
|
| 429 |
with gr.Column(scale=1, elem_classes="upload-image-col"):
|
| 430 |
im_match_in2 = gr.Image(
|
| 431 |
type='filepath',
|
| 432 |
-
height=
|
| 433 |
label="Second Image",
|
| 434 |
show_download_button=False
|
| 435 |
)
|
|
@@ -441,7 +442,8 @@ with gr.Blocks(
|
|
| 441 |
"assets/4-1.jpg",
|
| 442 |
],
|
| 443 |
inputs=im_match_in2,
|
| 444 |
-
label="Second Image Examples"
|
|
|
|
| 445 |
)
|
| 446 |
|
| 447 |
btn_f_match = gr.Button(
|
|
|
|
| 410 |
with gr.Column(scale=1, elem_classes="upload-image-col"):
|
| 411 |
im_match_in1 = gr.Image(
|
| 412 |
type='filepath',
|
| 413 |
+
height=320,
|
| 414 |
label="First Image",
|
| 415 |
show_download_button=False
|
| 416 |
)
|
|
|
|
| 422 |
"assets/4.jpg",
|
| 423 |
],
|
| 424 |
inputs=im_match_in1,
|
| 425 |
+
label="First Image Examples",
|
| 426 |
+
examples_per_page=4
|
| 427 |
)
|
| 428 |
|
| 429 |
# Second Image
|
| 430 |
with gr.Column(scale=1, elem_classes="upload-image-col"):
|
| 431 |
im_match_in2 = gr.Image(
|
| 432 |
type='filepath',
|
| 433 |
+
height=320,
|
| 434 |
label="Second Image",
|
| 435 |
show_download_button=False
|
| 436 |
)
|
|
|
|
| 442 |
"assets/4-1.jpg",
|
| 443 |
],
|
| 444 |
inputs=im_match_in2,
|
| 445 |
+
label="Second Image Examples",
|
| 446 |
+
examples_per_page=4
|
| 447 |
)
|
| 448 |
|
| 449 |
btn_f_match = gr.Button(
|