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