update:优化

This commit is contained in:
hrz
2025-05-26 11:04:13 +08:00
parent 5be65216e2
commit f78f6fc529
2 changed files with 16 additions and 3 deletions
+15 -1
View File
@@ -38,7 +38,21 @@ class TTSProviderBase(ABC):
";",
"",
)
self.first_sentence_punctuations = ("", ",")
self.first_sentence_punctuations = (
"",
"~",
"",
",",
"",
".",
"",
"?",
"",
"!",
"",
";",
"",
)
self.tts_stop_request = False
self.processed_chars = 0
self.is_first_sentence = True