[Misc] fix qwen image family redundant computation (#868)

Signed-off-by: zjy0516 <riverclouds.zhu@qq.com>
This commit is contained in:
Jiangyun Zhu authored and GitHub committed 2026-01-21 09:58:08 +00:00
1 parent 0aa72b952f
commit 58efc5dde3
5 files changed
+16 -14

No files matched your search

@@ -110,7 +110,7 @@ def parse_args() -> argparse.Namespace:
parser.add_argument(
"--negative_prompt",
type=str,
default=" ",
default=None,
required=False,
)
parser.add_argument(
@@ -24,7 +24,9 @@ def parse_args() -> argparse.Namespace:
)
parser.add_argument("--prompt", default="a cup of coffee on the table", help="Text prompt for image generation.")
parser.add_argument(
"--negative_prompt", default="", help="negative prompt for classifier-free conditional guidance."
"--negative_prompt",
default=None,
help="negative prompt for classifier-free conditional guidance.",
)
parser.add_argument("--seed", type=int, default=142, help="Random seed for deterministic results.")
parser.add_argument(