From 84850237d384e9efb8349c2c20d05093095ca88a Mon Sep 17 00:00:00 2001 From: seven Date: Sat, 29 Mar 2025 18:53:35 +0800 Subject: [PATCH] 'success' --- main/xiaozhi-server/core/handle/sendAudioHandle.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/main/xiaozhi-server/core/handle/sendAudioHandle.py b/main/xiaozhi-server/core/handle/sendAudioHandle.py index fa4623757..ed43a2457 100644 --- a/main/xiaozhi-server/core/handle/sendAudioHandle.py +++ b/main/xiaozhi-server/core/handle/sendAudioHandle.py @@ -38,10 +38,8 @@ async def sendAudioStream(conn, audios): # if isinstance(audios,types.GeneratorType): if inspect.isasyncgen(audios): - conn.logger.bind(tag=TAG).info('xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx') count = 0 async for opus_packet in audios: - conn.logger.bind(tag=TAG).info(f'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx,{type(opus_packet)},{opus_packet}') if isinstance(opus_packet,bytes) and opus_packet.startswith(b'text:'): await send_tts_message(conn, "sentence_start", opus_packet.replace(b'text:',b'').decode('utf-8')) continue