xinlongwang commited on
Commit
4c82dea
1 Parent(s): 3ee92ac

refine output

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -55,7 +55,8 @@ examples = [
55
 
56
  demo_mask = gr.Interface(fn=inference_mask1,
57
  inputs=[gr.ImageMask(label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
58
- outputs=gr.Gallery(label="outputs (输出图)"),
 
59
  examples=examples,
60
  #title="SegGPT for Any Segmentation<br>(Painter Inside)",
61
  description="<p> \
 
55
 
56
  demo_mask = gr.Interface(fn=inference_mask1,
57
  inputs=[gr.ImageMask(label="prompt (提示图)"), gr.Image(label="img1 (测试图1)"), gr.Image(label="img2 (测试图2)")],
58
+ outputs=[gr.Image(label="output1 (输出图1)"), gr.Image(label="output2 (输出图2)")],
59
+ #outputs=gr.Gallery(label="outputs (输出图)"),
60
  examples=examples,
61
  #title="SegGPT for Any Segmentation<br>(Painter Inside)",
62
  description="<p> \