From af7c8601f8a338a636d2141dc34ec03aedf08065 Mon Sep 17 00:00:00 2001 From: harry <1290534065@qq.com> Date: Sat, 11 Oct 2025 17:57:45 +0800 Subject: [PATCH] Fix the problem that Tencent cloud tts sound setting is invalid in the generation video function --- webui/components/audio_settings.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/webui/components/audio_settings.py b/webui/components/audio_settings.py index ddee80d..5bdf37f 100644 --- a/webui/components/audio_settings.py +++ b/webui/components/audio_settings.py @@ -447,6 +447,8 @@ def render_tencent_tts_settings(tr): help="调节语音速度 (0.5-2.0)" ) + config.ui["voice_name"] = saved_voice_type # 兼容性 + # 显示音色说明 with st.expander("💡 腾讯云 TTS 音色说明", expanded=False): st.write("**女声音色:**")