Skip to content

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

fix(cli): use human-readable unit in batch manifest size error

MihirPb610aaa5d6b2
diff --git a/cli.py b/cli.py
index 376d67b1..10e03dc7 100644
--- a/cli.py
+++ b/cli.py
@@ -815,7 +815,7 @@ def _load_batch_manifest(raw_path: str) -> tuple[str, list[dict[str, Any]]]:
payload = manifest_file.read(_BATCH_FILE_MAX_BYTES + 1)
if len(payload) > _BATCH_FILE_MAX_BYTES:
raise ValueError(
- f"batch manifest exceeds the {_BATCH_FILE_MAX_BYTES}-byte limit"
+ f"batch manifest exceeds the 1 MiB limit"
)
try: