From 9206880014bb55ba3d47cec92fe9eae688e9a5d8 Mon Sep 17 00:00:00 2001 From: LC <64722907+lc6464@users.noreply.github.com> Date: Sun, 9 Jun 2024 23:56:28 +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 --- webui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/webui.py b/webui.py index c71c1ca4..00bebb0a 100644 --- a/webui.py +++ b/webui.py @@ -872,7 +872,8 @@ with gr.Blocks(title="GPT-SoVITS WebUI") as app: tts_info = gr.Textbox(label=i18n("TTS推理WebUI进程输出信息")) if_tts.change(change_tts_inference, [if_tts,bert_pretrained_dir,cnhubert_base_dir,gpu_number_1C,GPT_dropdown,SoVITS_dropdown], [tts_info]) with gr.TabItem(i18n("2-GPT-SoVITS-变声")):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,