Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -154,8 +154,8 @@ main_scribble = gr.Interface(
|
|
154 |
inputs=
|
155 |
gr.ImageMask(label="[Stroke] Draw on Image", type='pil'),
|
156 |
outputs=[
|
157 |
-
gr.
|
158 |
-
gr.
|
159 |
],
|
160 |
allow_flagging="never",
|
161 |
title="SAM based Segment Annotator.",
|
@@ -166,4 +166,4 @@ main_scribble = gr.Interface(
|
|
166 |
"./cardamage_example/0206.JPEG"
|
167 |
]
|
168 |
)
|
169 |
-
main_scribble.launch(
|
|
|
154 |
inputs=
|
155 |
gr.ImageMask(label="[Stroke] Draw on Image", type='pil'),
|
156 |
outputs=[
|
157 |
+
gr.outputs.Image(type="pil", label="Mask with Image"),
|
158 |
+
gr.outputs.Image(type="pil", label="Mask")
|
159 |
],
|
160 |
allow_flagging="never",
|
161 |
title="SAM based Segment Annotator.",
|
|
|
166 |
"./cardamage_example/0206.JPEG"
|
167 |
]
|
168 |
)
|
169 |
+
main_scribble.launch()
|