From f83d981fe4b3e1163b483c157fe76ed3024bd840 Mon Sep 17 00:00:00 2001 From: Easterlings <39299001+Easterlings@users.noreply.github.com> Date: Wed, 6 Dec 2023 00:32:27 +0800 Subject: [PATCH] fix:change concurrent_count into concurrency_limit (#549) --- rembg/commands/s_command.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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