mirror of
https://git.mirrors.martin98.com/https://github.com/danielgatis/rembg
synced 2025-08-16 17:35:52 +08:00
fix:change concurrent_count into concurrency_limit (#549)
This commit is contained in:
parent
b0909dbe7a
commit
f83d981fe4
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user