Skip to content

Commit ae25756

Browse files
committed
Fix download_models.py not selecting required models for flux2/zimage
1 parent 0f9c51d commit ae25756

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/download_models.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def list_models(
8282

8383
models: set[ModelResource] = set()
8484
models.update([m for m in default_checkpoints if all or (m.id.identifier in checkpoints)])
85-
if minimal or recommended or all or sd15 or sdxl or flux:
85+
if len(versions) > 1:
8686
models.update([m for m in required_models if m.arch in versions])
8787
if minimal:
8888
models.add(default_checkpoints[0])

0 commit comments

Comments
 (0)