mirror of
https://github.com/RVC-Project/Retrieval-based-Voice-Conversion-WebUI.git
synced 2025-02-12 08:32:52 +08:00
Update infer-web.py
This commit is contained in:
parent
312de4faaa
commit
42e5565bc1
@ -1609,11 +1609,12 @@ with gr.Blocks(title="RVC WebUI") as app:
|
|||||||
gr.Markdown(traceback.format_exc())
|
gr.Markdown(traceback.format_exc())
|
||||||
|
|
||||||
if config.iscolab:
|
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:
|
else:
|
||||||
app.queue(concurrency_count=511, max_size=1022).launch(
|
app.queue(max_size=1022).launch(
|
||||||
server_name="0.0.0.0",
|
server_name="0.0.0.0",
|
||||||
inbrowser=not config.noautoopen,
|
inbrowser=not config.noautoopen,
|
||||||
server_port=config.listen_port,
|
server_port=config.listen_port,
|
||||||
quiet=True,
|
quiet=True,
|
||||||
|
max_threads=511
|
||||||
)
|
)
|
||||||
|
Loading…
Reference in New Issue
Block a user