Spaces:
Running
Running
Update app.py
Browse files
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"""
|
| 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,
|