From 9e82ebd1e0fdfa35c55ce785317ad37a4e4aa235 Mon Sep 17 00:00:00 2001 From: RVC-Boss <129054828+RVC-Boss@users.noreply.github.com> Date: Fri, 26 Jan 2024 18:01:15 +0800 Subject: [PATCH] Add files via upload --- 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 574b9d8..51e18a0 100644 --- a/GPT_SoVITS/inference_webui.py +++ b/GPT_SoVITS/inference_webui.py @@ -296,7 +296,7 @@ def get_tts_wav(ref_wav_path, prompt_text, prompt_language, text, text_language) phones1, word2ph1, norm_text1 = clean_text_inf(prompt_text, prompt_language) else: phones1, word2ph1, norm_text1 = nonen_clean_text_inf(prompt_text, prompt_language) - texts = text.split("\n") + texts = text.replace("\n\n","\n").replace("\n\n","\n").replace("\n\n","\n").split("\n") audio_opt = [] if prompt_language == "en": bert1 = get_bert_inf(phones1, word2ph1, norm_text1, prompt_language)