fishspeech key选配

This commit is contained in:
aileenfun 2025-03-16 22:35:10 +08:00
parent 5c3486d98d
commit 3439aa0971

View file

@ -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: