From 8d483fe4aaae2c0083ca0a69a8bbbf642960454e Mon Sep 17 00:00:00 2001 From: Yongqi Chen <144848849+BrianChen1129@users.noreply.github.com> Date: Mon, 4 Aug 2025 18:54:06 -0400 Subject: [PATCH] [Bugfix] Fix neg_prompt bug when training from local cp (#708) --- README.md | 2 +- fastvideo/configs/sample/base.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index ea7fa445a..7476df996 100644 --- a/README.md +++ b/README.md @@ -7,7 +7,7 @@ FastVideo features an end-to-end unified pipeline for accelerating diffusion models, starting from data preprocessing to model training, finetuning, distillation, and inference. FastVideo is designed to be modular and extensible, allowing users to easily add new optimizations and techniques. Whether it is training-free optimizations or post-training optimizations, FastVideo has you covered.

- | Documentation | Quick Start | 🤗 FastWan2.1 | 🤗 FastWan2.2 | 🟣💬 Slack | 🟣💬 WeChat | + | Documentation | Quick Start | 🤗 FastWan2.1 | 🤗 FastWan2.2 | 🟣💬 Slack | 🟣💬 WeChat |

diff --git a/fastvideo/configs/sample/base.py b/fastvideo/configs/sample/base.py index 2da5f05d7..32b096561 100644 --- a/fastvideo/configs/sample/base.py +++ b/fastvideo/configs/sample/base.py @@ -20,7 +20,7 @@ class SamplingParam: # Text inputs prompt: str | list[str] | None = None - negative_prompt: str | None = None + negative_prompt: str = "Bright tones, overexposed, static, blurred details, subtitles, style, works, paintings, images, static, overall gray, worst quality, low quality, JPEG compression residue, ugly, incomplete, extra fingers, poorly drawn hands, poorly drawn faces, deformed, disfigured, misshapen limbs, fused fingers, still picture, messy background, three legs, many people in the background, walking backwards" prompt_path: str | None = None output_path: str = "outputs/" output_video_name: str | None = None