Fix bug with CLIPLoader.

This commit is contained in:
comfyanonymous 2023-03-21 03:11:18 -04:00
parent fc935f8e12
commit aa2ddfabb9
1 changed files with 1 additions and 1 deletions

View File

@ -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: