Add chinese period to delimiters
This commit is contained in:
@@ -203,7 +203,7 @@ class StreamingTTSAdapter:
|
||||
"""
|
||||
|
||||
# Sentence delimiters
|
||||
SENTENCE_ENDS = {'。', '!', '?', '.', '!', '?', '\n'}
|
||||
SENTENCE_ENDS = {',', '。', '!', '?', '.', '!', '?', '\n'}
|
||||
|
||||
def __init__(self, tts_service: BaseTTSService, transport, session_id: str):
|
||||
self.tts_service = tts_service
|
||||
|
||||
Reference in New Issue
Block a user