Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -166,9 +166,9 @@ with gr.Blocks() as demo:
|
|
166 |
with gr.Tab("Flip Image"):
|
167 |
with gr.Row():
|
168 |
image_input = gr.Image(label="[Stroke] Draw on Image", tool='sketch',type='pil')
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
image_button = gr.Button("Genarate-Segment-Mask")
|
173 |
|
174 |
image_button.click(inference_scribble, inputs=image_input, outputs=image_output)
|
|
|
166 |
with gr.Tab("Flip Image"):
|
167 |
with gr.Row():
|
168 |
image_input = gr.Image(label="[Stroke] Draw on Image", tool='sketch',type='pil')
|
169 |
+
image_output = [gr.Image(type="pil", label="Mask with Image"),
|
170 |
+
gr.Image(type="pil", label="Mask")
|
171 |
+
],
|
172 |
image_button = gr.Button("Genarate-Segment-Mask")
|
173 |
|
174 |
image_button.click(inference_scribble, inputs=image_input, outputs=image_output)
|