From 35b6a1da721c9cbbbe56e0108ceab60400e2ece9 Mon Sep 17 00:00:00 2001 From: Terminal <55903432+1044690543@users.noreply.github.com> Date: Tue, 27 Aug 2024 11:32:42 +0800 Subject: [PATCH] Update inference_webui.py --- 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 5aff4ae..2815577 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -371,7 +371,7 @@ def get_phones_and_bert(text,language,version,final=False): phones = sum(phones_list, []) norm_text = ''.join(norm_text_list) - if not final and len(phones) < 6: + if not final: return get_phones_and_bert("." + text,language,version,final=True) return phones,bert.to(dtype),norm_text