mirror of
https://git.datalinker.icu/kijai/ComfyUI-CogVideoXWrapper.git
synced 2025-12-08 20:34:23 +08:00
Add bertjiazheng/KoolCogVideoX-5b -finetune
https://huggingface.co/bertjiazheng/KoolCogVideoX-5b
This commit is contained in:
parent
05413b6cfe
commit
6038b21830
3
nodes.py
3
nodes.py
@ -23,6 +23,7 @@ class DownloadAndLoadCogVideoModel:
|
|||||||
[
|
[
|
||||||
"THUDM/CogVideoX-2b",
|
"THUDM/CogVideoX-2b",
|
||||||
"THUDM/CogVideoX-5b",
|
"THUDM/CogVideoX-5b",
|
||||||
|
"bertjiazheng/KoolCogVideoX-5b",
|
||||||
],
|
],
|
||||||
),
|
),
|
||||||
|
|
||||||
@ -52,7 +53,7 @@ class DownloadAndLoadCogVideoModel:
|
|||||||
if "2b" in model:
|
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", "CogVideo2B")
|
||||||
elif "5b" in model:
|
elif "5b" in model:
|
||||||
base_path = os.path.join(folder_paths.models_dir, "CogVideo", "CogVideoX-5b")
|
base_path = os.path.join(folder_paths.models_dir, "CogVideo", (model.split("/")[-1]))
|
||||||
|
|
||||||
if not os.path.exists(base_path):
|
if not os.path.exists(base_path):
|
||||||
log.info(f"Downloading model to: {base_path}")
|
log.info(f"Downloading model to: {base_path}")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user