Spaces:
Runtime error
Runtime error
use image slider component
Browse files
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()
|