OriLib commited on
Commit
529fb6a
1 Parent(s): 1605763

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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)