diff --git a/GPT_SoVITS/TTS_infer_pack/text_segmentation_method.py b/GPT_SoVITS/TTS_infer_pack/text_segmentation_method.py index 396c61f6..4ee0cfb4 100644 --- a/GPT_SoVITS/TTS_infer_pack/text_segmentation_method.py +++ b/GPT_SoVITS/TTS_infer_pack/text_segmentation_method.py @@ -135,7 +135,7 @@ def cut3(inp): @register_method("cut4") def cut4(inp): inp = inp.strip("\n") - opts = ["%s" % item for item in inp.strip(".").split(".")] + opts = re.split(r'(?