mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-09 12:54:22 +08:00
Rectify model path
This commit is contained in:
parent
05413b6cfe
commit
49abc7b0eb
2
nodes.py
2
nodes.py
@ -50,7 +50,7 @@ class DownloadAndLoadCogVideoModel:
|
||||
dtype = {"bf16": torch.bfloat16, "fp16": torch.float16, "fp32": torch.float32}[precision]
|
||||
|
||||
if "2b" in model:
|
||||
base_path = os.path.join(folder_paths.models_dir, "CogVideo", "CogVideo2B")
|
||||
base_path = os.path.join(folder_paths.models_dir, "CogVideo", "CogVideoX-2b")
|
||||
elif "5b" in model:
|
||||
base_path = os.path.join(folder_paths.models_dir, "CogVideo", "CogVideoX-5b")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user