mirror of
https://github.com/Wan-Video/Wan2.1.git
synced 2025-11-04 14:16:57 +00:00
fixed i2v loras path
This commit is contained in:
parent
57328d6da7
commit
e972840f84
2
wgp.py
2
wgp.py
@ -1620,7 +1620,7 @@ def _parse_args():
|
||||
def get_lora_dir(model_type):
|
||||
model_family = get_model_family(model_type)
|
||||
base_model_type = get_base_model_type(model_type)
|
||||
i2v = test_class_i2v(model_type) and base_model_type == "i2v_2_2"
|
||||
i2v = test_class_i2v(model_type) or base_model_type == "i2v_2_2"
|
||||
if model_family == "wan":
|
||||
lora_dir =args.lora_dir
|
||||
if i2v and len(lora_dir)==0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user