Spaces:
Runtime error
Runtime error
Commit
·
a2f30af
1
Parent(s):
7924af3
update
Browse files
app.py
CHANGED
@@ -58,7 +58,7 @@ examples = [
|
|
58 |
]
|
59 |
|
60 |
demo_mask = gr.Interface(fn=inference_mask1,
|
61 |
-
inputs=[gr.ImageMask(brush_radius=
|
62 |
#outputs=[gr.Image(shape=(448, 448), label="output1 (输出图1)"), gr.Image(shape=(448, 448), label="output2 (输出图2)")],
|
63 |
outputs=[gr.Image(label="output1 (输出图1)").style(height=384, width=384), gr.Image(label="output2 (输出图2)").style(height=384, width=384)],
|
64 |
#outputs=gr.Gallery(label="outputs (输出图)"),
|
|
|
58 |
]
|
59 |
|
60 |
demo_mask = gr.Interface(fn=inference_mask1,
|
61 |
+
inputs=[gr.ImageMask(brush_radius=8, label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
|
62 |
#outputs=[gr.Image(shape=(448, 448), label="output1 (输出图1)"), gr.Image(shape=(448, 448), label="output2 (输出图2)")],
|
63 |
outputs=[gr.Image(label="output1 (输出图1)").style(height=384, width=384), gr.Image(label="output2 (输出图2)").style(height=384, width=384)],
|
64 |
#outputs=gr.Gallery(label="outputs (输出图)"),
|