mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 18:23:59 +08:00
update:优化
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user