xinlongwang commited on
Commit
7bcde02
·
1 Parent(s): ecdfc72
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -58,7 +58,7 @@ examples = [
58
 
59
  demo_mask = gr.Interface(fn=inference_mask1,
60
  inputs=[gr.ImageMask(label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
61
- outputs=[gr.Image(label="output1 (输出图1)", shape=[448, 448]), gr.Image(label="output2 (输出图2)", shape=[448, 448])],
62
  #outputs=[gr.Image(label="output1 (输出图1)"), gr.Image(label="output2 (输出图2)")],
63
  #outputs=gr.Gallery(label="outputs (输出图)"),
64
  examples=examples,
 
58
 
59
  demo_mask = gr.Interface(fn=inference_mask1,
60
  inputs=[gr.ImageMask(label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
61
+ outputs=[gr.Image(shape=(448, 448), label="output1 (输出图1)"), gr.Image(shape=(448, 448), label="output2 (输出图2)")],
62
  #outputs=[gr.Image(label="output1 (输出图1)"), gr.Image(label="output2 (输出图2)")],
63
  #outputs=gr.Gallery(label="outputs (输出图)"),
64
  examples=examples,