update sentences ends
This commit is contained in:
@@ -415,7 +415,7 @@ class DuplexPipeline:
|
||||
|
||||
# Sentence buffer for streaming TTS
|
||||
sentence_buffer = ""
|
||||
sentence_ends = {'。', '!', '?', '\n'}
|
||||
sentence_ends = {',', '。', '!', '?', '\n'}
|
||||
first_audio_sent = False
|
||||
|
||||
# Stream LLM response and TTS sentence by sentence
|
||||
|
||||
Reference in New Issue
Block a user