From 25ee24f515b68cb33569d1f50dd050514722648a Mon Sep 17 00:00:00 2001 From: ilyaml218 Date: Fri, 10 May 2024 14:27:22 +0800 Subject: [PATCH] =?UTF-8?q?Update=20inference=5Fwebui.py=EF=BC=9Adelete=20?= =?UTF-8?q?concurrency=5Fcount=3D511,=20max=5Fsize=3D1022?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit inference_webui.py 616 app.queue(concurrency_count=511, max_size=1022).launch( blocks.py 2012 queue raise DeprecationWarning( DeprecationWarning: concurrency_count has been deprecated. Set the concurrency_limit directly on event listeners e.g. btn.click(fn, ..., concurrency_limit=10) or gr.Interface(concurrency_limit=10). If necessary, the total number of workers can be configured via `max_threads` in launch(). --- GPT_SoVITS/inference_webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GPT_SoVITS/inference_webui.py b/GPT_SoVITS/inference_webui.py index 4fe8045d..5505cfa0 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -613,7 +613,7 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app: button5.click(cut5, [text_inp], [text_opt]) gr.Markdown(value=i18n("后续将支持转音素、手工修改音素、语音合成分步执行。")) -app.queue(concurrency_count=511, max_size=1022).launch( +app.queue().launch( server_name="0.0.0.0", inbrowser=True, share=is_share,