Skip to content

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

optimize error message

harryc514108f88b6
diff --git a/app/services/material.py b/app/services/material.py
index 29f61eb4..2dda2b29 100644
--- a/app/services/material.py
+++ b/app/services/material.py
@@ -13,7 +13,7 @@ from app.utils import utils
requested_count = 0
pexels_api_keys = config.app.get("pexels_api_keys")
if not pexels_api_keys:
- raise ValueError("pexels_api_keys is not set, please set it in the config.toml file.")
+ raise ValueError(f"\n\n##### pexels_api_keys is not set #####\n\nPlease set it in the config.toml file: {config.config_file}\n\n{utils.to_json(config.app)}")
def round_robin_api_key():