justin-zk commited on
Commit
48b27ce
1 Parent(s): f8846cb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -486,8 +486,8 @@ main = gr.Interface(
486
  gr.Image(type="pil", label="test image2"),
487
  ],
488
  outputs=[
489
- gr.outputs.Image(type="pil", label="output image1"),
490
- gr.outputs.Image(type="pil", label="output image2"),
491
  ],
492
  allow_flagging="never",
493
  title="Personalize Segment Anything Model with 1 Shot",
@@ -507,8 +507,8 @@ main_scribble = gr.Interface(
507
  gr.Image(type="pil", label="test image2"),
508
  ],
509
  outputs=[
510
- gr.outputs.Image(type="pil", label="output image1"),
511
- gr.outputs.Image(type="pil", label="output image2"),
512
  ],
513
  allow_flagging="never",
514
  title="Personalize Segment Anything Model with 1 Shot",
 
486
  gr.Image(type="pil", label="test image2"),
487
  ],
488
  outputs=[
489
+ gr.components.Image(type="pil", label="output image1"),
490
+ gr.components.Image(type="pil", label="output image2"),
491
  ],
492
  allow_flagging="never",
493
  title="Personalize Segment Anything Model with 1 Shot",
 
507
  gr.Image(type="pil", label="test image2"),
508
  ],
509
  outputs=[
510
+ gr.components.Image(type="pil", label="output image1"),
511
+ gr.components.Image(type="pil", label="output image2"),
512
  ],
513
  allow_flagging="never",
514
  title="Personalize Segment Anything Model with 1 Shot",