Spaces:
Runtime error
Runtime error
update code
Browse files
app.py
CHANGED
@@ -505,12 +505,12 @@ main_scribble = gr.Interface(
|
|
505 |
fn=inference_scribble,
|
506 |
inputs=[
|
507 |
gr.ImageMask(label="[Stroke] Draw on Image", brush_radius=4),
|
508 |
-
gr.Image(
|
509 |
-
gr.Image(
|
510 |
],
|
511 |
outputs=[
|
512 |
-
gr.Image(
|
513 |
-
gr.Image(
|
514 |
],
|
515 |
allow_flagging="never",
|
516 |
cache_examples=False,
|
|
|
505 |
fn=inference_scribble,
|
506 |
inputs=[
|
507 |
gr.ImageMask(label="[Stroke] Draw on Image", brush_radius=4),
|
508 |
+
gr.Image(label="test image1"),
|
509 |
+
gr.Image(label="test image2"),
|
510 |
],
|
511 |
outputs=[
|
512 |
+
gr.Image(label="output image1").style(height=256, width=256),
|
513 |
+
gr.Image(label="output image2").style(height=256, width=256),
|
514 |
],
|
515 |
allow_flagging="never",
|
516 |
cache_examples=False,
|