Skip to content

armgit / rembg

Public Imported from GitHub
0

Rembg is a tool to remove images background

fix:change concurrent_count into concurrency_limit (#549)

Easterlingsf83d981fe4b3
diff --git a/rembg/commands/s_command.py b/rembg/commands/s_command.py
index 474920a..b6f51b4 100644
--- a/rembg/commands/s_command.py
+++ b/rembg/commands/s_command.py
@@ -276,9 +276,9 @@ def s_command(port: int, log_level: str, threads: int) -> None:
gr.components.Textbox(label="Arguments"),
],
gr.components.Image(type="filepath", label="Output"),
+ concurrency_limit=3
)
- interface.queue(concurrency_count=3)
app = gr.mount_gradio_app(app, interface, path="/")
return app