From de52555e4db90f4b9809ee11ad551d153732d082 Mon Sep 17 00:00:00 2001 From: LC <64722907+lc6464@users.noreply.github.com> Date: Mon, 10 Jun 2024 00:06:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=BF=87=E6=97=B6=E7=9A=84?= =?UTF-8?q?=20concurrency=5Fcount=20=E5=8F=82=E6=95=B0=E5=BC=95=E5=8F=91?= =?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- GPT_SoVITS/inference_webui.py | 3 ++- tools/uvr5/webui.py | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/GPT_SoVITS/inference_webui.py b/GPT_SoVITS/inference_webui.py index 4fe8045d..56f941be 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -613,7 +613,8 @@ 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(max_size=1022).launch( + max_threads=511, server_name="0.0.0.0", inbrowser=True, share=is_share, diff --git a/tools/uvr5/webui.py b/tools/uvr5/webui.py index a690a686..187508d3 100644 --- a/tools/uvr5/webui.py +++ b/tools/uvr5/webui.py @@ -167,7 +167,8 @@ with gr.Blocks(title="UVR5 WebUI") as app: [vc_output4], api_name="uvr_convert", ) -app.queue(concurrency_count=511, max_size=1022).launch( +app.queue(max_size=1022).launch( + max_threads=511, server_name="0.0.0.0", inbrowser=True, share=is_share,