Update
Browse files
app.py
CHANGED
|
@@ -19,7 +19,7 @@ def remove_background(image: PIL.Image.Image) -> tuple[PIL.Image.Image, PIL.Imag
|
|
| 19 |
return rembg.remove(image), image
|
| 20 |
|
| 21 |
|
| 22 |
-
with gr.Blocks(
|
| 23 |
gr.Markdown(DESCRIPTION)
|
| 24 |
with gr.Row():
|
| 25 |
with gr.Column():
|
|
@@ -32,4 +32,4 @@ with gr.Blocks(css_paths="style.css") as demo:
|
|
| 32 |
run_button.click(fn=remove_background, inputs=image, outputs=out)
|
| 33 |
|
| 34 |
if __name__ == "__main__":
|
| 35 |
-
demo.launch(mcp_server=True)
|
|
|
|
| 19 |
return rembg.remove(image), image
|
| 20 |
|
| 21 |
|
| 22 |
+
with gr.Blocks() as demo:
|
| 23 |
gr.Markdown(DESCRIPTION)
|
| 24 |
with gr.Row():
|
| 25 |
with gr.Column():
|
|
|
|
| 32 |
run_button.click(fn=remove_background, inputs=image, outputs=out)
|
| 33 |
|
| 34 |
if __name__ == "__main__":
|
| 35 |
+
demo.launch(mcp_server=True, css_paths="style.css")
|