SOTA Open Source TTS
fix spliter
Lengyue57f6be0f3ecd
diff --git a/fish_speech/text/spliter.py b/fish_speech/text/spliter.pyindex 5528cd3..d4bb995 100644--- a/fish_speech/text/spliter.py+++ b/fish_speech/text/spliter.py@@ -71,9 +71,9 @@ def split_text(text, length):texts = [text]texts = map(protect_float, texts)- texts = break_text(texts, length, {".", "!", "?"})+ texts = break_text(texts, length, {".", "!", "?", "。", "!", "?"})texts = map(unprotect_float, texts)- texts = break_text(texts, length, {","})+ texts = break_text(texts, length, {",", ","})texts = break_text(texts, length, {" "})texts = list(break_text_by_length(texts, length))