Skip to content

利用 AI 大模型和自动化工作流,根据主题或关键词一键生成高清短视频。Generate HD short videos from a topic or keyword with an automated AI workflow.

fixed: ValidationError: 1 validation error for VideoParams video_subject Field required

harry729c407c302d
diff --git a/webui/Main.py b/webui/Main.py
index 1a327f7f..5b8716a9 100644
--- a/webui/Main.py
+++ b/webui/Main.py
@@ -223,7 +223,7 @@ left_panel = panel[0]
middle_panel = panel[1]
right_panel = panel[2]
-params = VideoParams()
+params = VideoParams(video_subject="")
with left_panel:
with st.container(border=True):
@@ -299,7 +299,8 @@ with middle_panel:
index=0)
with st.container(border=True):
st.write(tr("Audio Settings"))
- voices = voice.get_all_azure_voices(filter_locals=["zh-CN", "zh-HK", "zh-TW", "de-DE", "en-US", "fr-FR", "vi-VN"])
+ voices = voice.get_all_azure_voices(
+ filter_locals=["zh-CN", "zh-HK", "zh-TW", "de-DE", "en-US", "fr-FR", "vi-VN"])
friendly_names = {
v: v.
replace("Female", tr("Female")).