Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -486,8 +486,8 @@ main = gr.Interface(
|
|
| 486 |
gr.Image(type="pil", label="test image2"),
|
| 487 |
],
|
| 488 |
outputs=[
|
| 489 |
-
gr.
|
| 490 |
-
gr.
|
| 491 |
],
|
| 492 |
allow_flagging="never",
|
| 493 |
title="Personalize Segment Anything Model with 1 Shot",
|
|
@@ -507,8 +507,8 @@ main_scribble = gr.Interface(
|
|
| 507 |
gr.Image(type="pil", label="test image2"),
|
| 508 |
],
|
| 509 |
outputs=[
|
| 510 |
-
gr.
|
| 511 |
-
gr.
|
| 512 |
],
|
| 513 |
allow_flagging="never",
|
| 514 |
title="Personalize Segment Anything Model with 1 Shot",
|
|
|
|
| 486 |
gr.Image(type="pil", label="test image2"),
|
| 487 |
],
|
| 488 |
outputs=[
|
| 489 |
+
gr.components.Image(type="pil", label="output image1"),
|
| 490 |
+
gr.components.Image(type="pil", label="output image2"),
|
| 491 |
],
|
| 492 |
allow_flagging="never",
|
| 493 |
title="Personalize Segment Anything Model with 1 Shot",
|
|
|
|
| 507 |
gr.Image(type="pil", label="test image2"),
|
| 508 |
],
|
| 509 |
outputs=[
|
| 510 |
+
gr.components.Image(type="pil", label="output image1"),
|
| 511 |
+
gr.components.Image(type="pil", label="output image2"),
|
| 512 |
],
|
| 513 |
allow_flagging="never",
|
| 514 |
title="Personalize Segment Anything Model with 1 Shot",
|