johko commited on
Commit
c220fc4
1 Parent(s): 16fdd22

use image slider component

Browse files
Files changed (1) hide show
  1. app.py +1 -4
app.py CHANGED
@@ -54,9 +54,6 @@ gr.Interface(
54
  It uses the [transparent-background](https://github.com/plemeri/transparent-background) library, which is built on [InSPyReNet](https://github.com/plemeri/inspyrenet).
55
  """,
56
  inputs=gr.components.Image(type="pil", label="Input Image"),
57
- outputs=[
58
- gr.components.Image(type="pil", label="Output Image"),
59
- gr.components.Image(type="pil", label="Image Mask"),
60
- ],
61
  title="Salient Object Detection",
62
  ).launch()
 
54
  It uses the [transparent-background](https://github.com/plemeri/transparent-background) library, which is built on [InSPyReNet](https://github.com/plemeri/inspyrenet).
55
  """,
56
  inputs=gr.components.Image(type="pil", label="Input Image"),
57
+ outputs=gr.components.ImageSlider(label="Output", type="pil"),
 
 
 
58
  title="Salient Object Detection",
59
  ).launch()