From 74e8fb06632cae6d14005c5906c7fbfb05433fb4 Mon Sep 17 00:00:00 2001 From: rahulpscraftech360 Date: Thu, 21 Aug 2025 15:37:09 +0530 Subject: [PATCH] working local --- main/xiaozhi-server/core/handle/receiveAudioHandle.py | 2 +- main/xiaozhi-server/core/providers/tts/minimax_webSocket.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/main/xiaozhi-server/core/handle/receiveAudioHandle.py b/main/xiaozhi-server/core/handle/receiveAudioHandle.py index d68e5f385..c049c12a3 100644 --- a/main/xiaozhi-server/core/handle/receiveAudioHandle.py +++ b/main/xiaozhi-server/core/handle/receiveAudioHandle.py @@ -23,7 +23,7 @@ async def handleAudioMessage(conn, audio): # Skip VAD/ASR processing when server is speaking (streaming audio to client) # This prevents interruptions during TTS playback if conn.client_is_speaking: - conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption") + # conn.logger.bind(tag=TAG).debug("Server is speaking - skipping audio processing to prevent interruption") return # Whether the current segment has someone speaking diff --git a/main/xiaozhi-server/core/providers/tts/minimax_webSocket.py b/main/xiaozhi-server/core/providers/tts/minimax_webSocket.py index 7a9707559..fa72f5de9 100644 --- a/main/xiaozhi-server/core/providers/tts/minimax_webSocket.py +++ b/main/xiaozhi-server/core/providers/tts/minimax_webSocket.py @@ -24,7 +24,6 @@ class TTSProvider(TTSProviderBase): "pitch": 0, "emotion": "happy", } - default_pronunciation_dict = { "tone": ["处理/(chu3)(li3)", "危险/dangerous"]} default_audio_setting = {