mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-11-24 04:19:48 +01:00
no message
This commit is contained in:
parent
bbc31e01c4
commit
4a3ac2cfcd
1 changed files with 0 additions and 2 deletions
|
|
@ -908,8 +908,6 @@ class ConnectionHandler:
|
|||
if text is None or len(text) <= 0:
|
||||
self.logger.bind(tag=TAG).info(f"无需tts转换,query为空,{text}")
|
||||
return None, text, text_index
|
||||
if text_index>2:
|
||||
time.sleep(20)
|
||||
tts_file = self.tts.to_tts(text)
|
||||
if tts_file is None:
|
||||
self.logger.bind(tag=TAG).error(f"tts转换失败,{text}")
|
||||
|
|
|
|||
Loading…
Reference in a new issue