From 0e07a9cb014a9a199c84c180c99e694b9a3698fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stardust=C2=B7=E5=87=8F?= Date: Wed, 4 Oct 2023 21:44:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BA=8C=E6=AC=A1=E4=BF=AE=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webui.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webui.py b/webui.py index e3196ad00..8f5aba416 100644 --- a/webui.py +++ b/webui.py @@ -53,7 +53,7 @@ def get_text(text, language_str, hps): if language_str == "ZH": bert = bert ja_bert = torch.zeros(768, len(phone)) - elif language_str == "JA": + elif language_str == "JP": ja_bert = bert bert = torch.zeros(1024, len(phone)) else: