mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-05-12 18:22:53 +08:00
Fix returned vbench image filenames
This commit is contained in:
parent
09f03107c2
commit
512deb3cd6
@ -170,7 +170,9 @@ def _try_download_vbench_i2v(input_dir: Path) -> list[str]:
|
||||
|
||||
image_exts = {".png", ".jpg", ".jpeg", ".webp"}
|
||||
filenames = sorted(
|
||||
p.name for p in input_dir.rglob("*") if p.suffix.lower() in image_exts
|
||||
p.relative_to(input_dir).as_posix()
|
||||
for p in input_dir.rglob("*")
|
||||
if p.suffix.lower() in image_exts
|
||||
)
|
||||
print(f"[setup] prepared {len(filenames)} VBench I2V images in {input_dir}")
|
||||
return filenames
|
||||
|
||||
Loading…
Reference in New Issue
Block a user