From aa2ddfabb938b90d15d79f25d92917e9f86bf91d Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Tue, 21 Mar 2023 03:11:18 -0400 Subject: [PATCH] Fix bug with CLIPLoader. --- nodes.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nodes.py b/nodes.py index 1658a4c8..cb4d7723 100644 --- a/nodes.py +++ b/nodes.py @@ -337,7 +337,7 @@ class CLIPLoader: def load_clip(self, clip_name): clip_path = folder_paths.get_full_path("clip", clip_name) - clip = comfy.sd.load_clip(ckpt_path=clip_path, embedding_directory=CheckpointLoader.embedding_directory) + clip = comfy.sd.load_clip(ckpt_path=clip_path, embedding_directory=folder_paths.get_folder_paths("embeddings")) return (clip,) class CLIPVisionLoader: