Skip to content

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

fix(cli): remove redundant f-string

harry0703465b8b35ef15
diff --git a/cli.py b/cli.py
index 10e03dc7..59699fda 100644
--- a/cli.py
+++ b/cli.py
@@ -814,9 +814,7 @@ def _load_batch_manifest(raw_path: str) -> tuple[str, list[dict[str, Any]]]:
with open(manifest_path, "rb") as manifest_file:
payload = manifest_file.read(_BATCH_FILE_MAX_BYTES + 1)
if len(payload) > _BATCH_FILE_MAX_BYTES:
- raise ValueError(
- f"batch manifest exceeds the 1 MiB limit"
- )
+ raise ValueError("batch manifest exceeds the 1 MiB limit")
try:
text = payload.decode("utf-8-sig")