ihabooe commited on
Commit
c0fb104
·
verified ·
1 Parent(s): 556fa9a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -6
app.py CHANGED
@@ -91,9 +91,7 @@ def process(image, progress=gr.Progress()):
91
 
92
  # Gradio interface setup
93
  title = "Background Removal"
94
- 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> For testing, 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>. To purchase a commercial license, simply click <a href='https://go.bria.ai/3ZCBTLH' target='_blank'><b>Here</b></a>. <br>"""
95
-
96
- examples = [['./input.jpg']]
97
 
98
  # Create the Gradio interface
99
  with gr.Blocks(css="""
@@ -162,9 +160,6 @@ with gr.Blocks(css="""
162
  visible=False
163
  )
164
 
165
- # Set up example images
166
- gr.Examples(examples, inputs=input_image)
167
-
168
  # Process automatically when image is uploaded
169
  input_image.change(
170
  fn=process,
 
91
 
92
  # Gradio interface setup
93
  title = "Background Removal"
94
+ description = r"""<br>"""
 
 
95
 
96
  # Create the Gradio interface
97
  with gr.Blocks(css="""
 
160
  visible=False
161
  )
162
 
 
 
 
163
  # Process automatically when image is uploaded
164
  input_image.change(
165
  fn=process,