diff --git a/utils/audio.py b/utils/audio.py index 6ed5cd00..2f4b4386 100644 --- a/utils/audio.py +++ b/utils/audio.py @@ -1082,8 +1082,8 @@ async def tts_handle(self, message): voice_tmp_path = await self.my_tts.chattts_api(data) elif message["tts_type"] == "none": - Audio.voice_tmp_path_queue.put(message) - return None + # Audio.voice_tmp_path_queue.put(message) + voice_tmp_path = None message["result"] = { "code": 200,