Spaces:
Running
Running
Commit
•
32fbf60
1
Parent(s):
4941fcb
Update app.py
Browse files
app.py
CHANGED
@@ -93,13 +93,6 @@ 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 |
-
title = "Background Removal"
|
97 |
-
description = r"""Background removal model developed by <a href='https://BRIA.AI' target='_blank'><b>BRIA.AI</b></a>, trained on a carefully selected dataset and is available as an open-source model for non-commercial use.<br>
|
98 |
-
For test upload your image and wait. Read more at model card <a href='https://huggingface.co/briaai/RMBG-1.4' target='_blank'><b>briaai/RMBG-1.4</b></a>.<br>
|
99 |
-
"""
|
100 |
-
examples = [['./input.jpg'],]
|
101 |
-
# output = ImageSlider(position=0.5,label='Image without background', type="pil", show_download_button=True)
|
102 |
-
# demo = gr.Interface(fn=process,inputs="image", outputs=output, examples=examples, title=title, description=description)
|
103 |
demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
|
104 |
|
105 |
if __name__ == "__main__":
|
|
|
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 |
demo = gr.Interface(fn=process,inputs="image", outputs="image", examples=examples, title=title, description=description)
|
97 |
|
98 |
if __name__ == "__main__":
|