Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
|
@@ -113,7 +113,8 @@ def process(image):
|
|
| 113 |
title = "background_removal"
|
| 114 |
description = "remove image background"
|
| 115 |
examples = [['./input.jpg'],]
|
| 116 |
-
|
|
|
|
| 117 |
|
| 118 |
if __name__ == "__main__":
|
| 119 |
demo.launch(share=False)
|
|
|
|
| 113 |
title = "background_removal"
|
| 114 |
description = "remove image background"
|
| 115 |
examples = [['./input.jpg'],]
|
| 116 |
+
output = ImageSlider(position=0.5,label='Image without background slider-view', type="pil")
|
| 117 |
+
demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
|
| 118 |
|
| 119 |
if __name__ == "__main__":
|
| 120 |
demo.launch(share=False)
|