Update vad_asr_websocket_client.py

This commit is contained in:
cgisky1980 2023-03-21 20:42:40 +08:00
parent e11618bbb4
commit b1a5fbd433

View File

@ -185,7 +185,7 @@ while True:
buffer = [] # 清空缓存中的帧数据(最多两个片段)
silence_count = 0 # 统计连续静音的次数清零
speech_detected = False # 标记是否检测到语音
# RECORD_NUM = 0
RECORD_NUM = 0
print("结束录制...")