fix:change concurrent_count into concurrency_limit (#549)

This commit is contained in:
Easterlings 2023-12-06 00:32:27 +08:00 committed by GitHub
parent b0909dbe7a
commit f83d981fe4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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