Spaces:
Runtime error
Runtime error
Commit
·
b40b5cb
1
Parent(s):
02a96b6
Update app.py
Browse files
app.py
CHANGED
|
@@ -177,7 +177,7 @@ with gr.Blocks() as iface:
|
|
| 177 |
single_clear = gr.Button("Limpar")
|
| 178 |
|
| 179 |
|
| 180 |
-
with gr.Tab("Lote"):
|
| 181 |
with gr.Row():
|
| 182 |
with gr.Column():
|
| 183 |
images = gr.File(file_count="multiple", file_types=["image"])
|
|
@@ -190,6 +190,14 @@ with gr.Blocks() as iface:
|
|
| 190 |
batch_removebg = gr.Button("Processar Lote")
|
| 191 |
with gr.Column():
|
| 192 |
batch_clear = gr.Button("Limpar")
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 193 |
#Events
|
| 194 |
single_removebg.click(inference, inputs=image, outputs=image_output)
|
| 195 |
batch_removebg.click(batch, inputs=images, outputs=[gallery,file_list])
|
|
|
|
| 177 |
single_clear = gr.Button("Limpar")
|
| 178 |
|
| 179 |
|
| 180 |
+
with gr.Tab("Lote de Imagens"):
|
| 181 |
with gr.Row():
|
| 182 |
with gr.Column():
|
| 183 |
images = gr.File(file_count="multiple", file_types=["image"])
|
|
|
|
| 190 |
batch_removebg = gr.Button("Processar Lote")
|
| 191 |
with gr.Column():
|
| 192 |
batch_clear = gr.Button("Limpar")
|
| 193 |
+
|
| 194 |
+
with gr.Tab("Sobre"):
|
| 195 |
+
with gr.Row():
|
| 196 |
+
gr.Markdown("# Removedor de Fundo💚")
|
| 197 |
+
gr.HTML("Usa <a href='https://github.com/xuebinqin/DIS'>DIS</a> para remover o plano de fundo")
|
| 198 |
+
|
| 199 |
+
|
| 200 |
+
|
| 201 |
#Events
|
| 202 |
single_removebg.click(inference, inputs=image, outputs=image_output)
|
| 203 |
batch_removebg.click(batch, inputs=images, outputs=[gallery,file_list])
|