mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2026-01-24 00:14:25 +08:00
Update model_loading.py
This commit is contained in:
parent
75aa19b4e1
commit
7162d1040d
@ -243,8 +243,7 @@ class DownloadAndLoadCogVideoModel:
|
||||
adapter_list = []
|
||||
adapter_weights = []
|
||||
for l in lora:
|
||||
if l["fuse_lora"]:
|
||||
fuse = True
|
||||
fuse = True if l["fuse_lora"] else False
|
||||
lora_sd = load_torch_file(l["path"])
|
||||
for key, val in lora_sd.items():
|
||||
if "lora_B" in key:
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user