Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -13,15 +13,13 @@ def rem_bg(input):
|
|
| 13 |
pass
|
| 14 |
return out1, out2
|
| 15 |
|
| 16 |
-
with gr.Blocks() as myface:
|
| 17 |
gr.Markdown("""<center><h1>Fast Background Remover</h1><center>""")
|
| 18 |
with gr.Row():
|
| 19 |
gr.Column()
|
| 20 |
with gr.Column():
|
| 21 |
with gr.Accordion("Details",open=False):
|
| 22 |
-
gr.Markdown("""<center><h3>Drop your image in the box, and the background will be removed.</h3><center>""")
|
| 23 |
-
gr.Markdown("""<center><h5>Background Removal by:<br><a href='https://github.com/danielgatis/rembg' target='_blank'>Github Repo: danielgatis/rembg</a><br><br>
|
| 24 |
-
a <a href='https://huggingface.co/spaces' target='_blank'>Huggingface Space</a> by: <br><a href='https://twitter.com/omnibusai' target='_blank'>Omnibus</h3></a><center>""")
|
| 25 |
|
| 26 |
with gr.Accordion(label="Input Image",open=True) as og:
|
| 27 |
in_win=gr.Pil(label="Input", interactive=True, batch=True, max_batch_size=20)
|
|
|
|
| 13 |
pass
|
| 14 |
return out1, out2
|
| 15 |
|
| 16 |
+
with gr.Blocks(css=footer {visibility:hidden}) as myface:
|
| 17 |
gr.Markdown("""<center><h1>Fast Background Remover</h1><center>""")
|
| 18 |
with gr.Row():
|
| 19 |
gr.Column()
|
| 20 |
with gr.Column():
|
| 21 |
with gr.Accordion("Details",open=False):
|
| 22 |
+
gr.Markdown("""<center><h3>Drop your image in the box, and the background will be removed.</h3><center>""")"")
|
|
|
|
|
|
|
| 23 |
|
| 24 |
with gr.Accordion(label="Input Image",open=True) as og:
|
| 25 |
in_win=gr.Pil(label="Input", interactive=True, batch=True, max_batch_size=20)
|