amirgame197 commited on
Commit
68f0159
1 Parent(s): 2db248f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -93,10 +93,9 @@ gr.HTML('''
93
  <a href="https://huggingface.co/briaai/RMBG-1.4" target="_blank">BRIA RMBG-1.4 image matting model</a> as backbone.
94
  </p>
95
  ''')
96
- examples = []
97
  # output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
98
  # demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
99
- demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
100
 
101
  if __name__ == "__main__":
102
  demo.launch(share=False)
 
93
  <a href="https://huggingface.co/briaai/RMBG-1.4" target="_blank">BRIA RMBG-1.4 image matting model</a> as backbone.
94
  </p>
95
  ''')
 
96
  # output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
97
  # demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
98
+ demo = gr.Interface(fn=process,inputs="image", outputs="image")
99
 
100
  if __name__ == "__main__":
101
  demo.launch(share=False)