Skip to content

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

fix LLM API Key with g4f config

cpanel10x2a251ebbd178
diff --git a/webui/Main.py b/webui/Main.py
index ad32c1f9..2712b282 100644
--- a/webui/Main.py
+++ b/webui/Main.py
@@ -396,7 +396,7 @@ if start_button:
scroll_to_bottom()
st.stop()
- if not config.app.get(f"{llm_provider}_api_key", ""):
+ if llm_provider != 'g4f' and not config.app.get(f"{llm_provider}_api_key", ""):
st.error(tr("Please Enter the LLM API Key"))
scroll_to_bottom()
st.stop()