Browse Source

fix:change concurrent_count into concurrency_limit (#549)

Easterlings 1 year ago
parent
commit
f83d981fe4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      rembg/commands/s_command.py

+ 1 - 1
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