Skip to content

Commit

Permalink
恢复 tts_type为None的情况下的逻辑(仅对虚拟身体特殊情况下的调度做兼容,此版块待整改
Browse files Browse the repository at this point in the history
  • Loading branch information
Ikaros-521 committed Jun 13, 2024
1 parent 884036a commit e85f74c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions utils/audio.py
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit e85f74c

Please sign in to comment.