Merge pull request #1420 from xinnan-tech/py_test_mcp

Py test mcp
This commit is contained in:
hrz 2025-05-30 16:09:06 +08:00 committed by GitHub
commit 4bf2f927b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -47,6 +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.reset_vad_states()
if len(asr_audio_task) > 15: