From 3439aa0971d0d863db9318a25ae62899f82408ae Mon Sep 17 00:00:00 2001 From: aileenfun <105077614@qq.com> Date: Sun, 16 Mar 2025 22:35:10 +0800 Subject: [PATCH] =?UTF-8?q?fishspeech=20key=E9=80=89=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- main/xiaozhi-server/core/connection.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main/xiaozhi-server/core/connection.py b/main/xiaozhi-server/core/connection.py index a7f4e2db4..0ff1ac0e7 100644 --- a/main/xiaozhi-server/core/connection.py +++ b/main/xiaozhi-server/core/connection.py @@ -451,7 +451,7 @@ class ConnectionHandler: opus_datas, text_index, tts_file = [], 0, None try: self.logger.bind(tag=TAG).debug("正在处理TTS任务...") - tts_file, text, text_index = future.result(timeout=20) + tts_file, text, text_index = future.result(timeout=10) if text is None or len(text) <= 0: self.logger.bind(tag=TAG).error(f"TTS出错:{text_index}: tts text is empty") elif tts_file is None: