mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-29 09:23:56 +08:00
Merge branch 'test-mcp' into py_test_mcp
This commit is contained in:
@@ -47,7 +47,7 @@ class ASRProviderBase(ABC):
|
||||
if self.conn.client_voice_stop:
|
||||
asr_audio_task = copy.deepcopy(self.conn.asr_audio)
|
||||
self.conn.asr_audio.clear()
|
||||
self.conn.client_abort = False
|
||||
|
||||
# 音频太短了,无法识别
|
||||
self.conn.reset_vad_states()
|
||||
if len(asr_audio_task) > 15:
|
||||
|
||||
Reference in New Issue
Block a user