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