Update infer-web.py

This commit is contained in:
Lord Milutin 2024-06-27 18:44:04 +02:00 committed by GitHub
parent 312de4faaa
commit 42e5565bc1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 2 deletions

View File

@ -1609,11 +1609,12 @@ with gr.Blocks(title="RVC WebUI") as app:
gr.Markdown(traceback.format_exc())
if config.iscolab:
app.queue(concurrency_count=511, max_size=1022).launch(share=True)
app.queue(max_size=1022).launch(share=True, max_threads=511)
else:
app.queue(concurrency_count=511, max_size=1022).launch(
app.queue(max_size=1022).launch(
server_name="0.0.0.0",
inbrowser=not config.noautoopen,
server_port=config.listen_port,
quiet=True,
max_threads=511
)