@@ -888,7 +888,7 @@ def load_unet(self, unet_name, weight_dtype):
888888class CLIPLoader :
889889 @classmethod
890890 def INPUT_TYPES (s ):
891- return {"required" : { "clip_name" : (folder_paths .get_filename_list ("clip " ), ),
891+ return {"required" : { "clip_name" : (folder_paths .get_filename_list ("text_encoders " ), ),
892892 "type" : (["stable_diffusion" , "stable_cascade" , "sd3" , "stable_audio" , "mochi" ], ),
893893 }}
894894 RETURN_TYPES = ("CLIP" ,)
@@ -908,15 +908,15 @@ def load_clip(self, clip_name, type="stable_diffusion"):
908908 else :
909909 clip_type = comfy .sd .CLIPType .STABLE_DIFFUSION
910910
911- clip_path = folder_paths .get_full_path_or_raise ("clip " , clip_name )
911+ clip_path = folder_paths .get_full_path_or_raise ("text_encoders " , clip_name )
912912 clip = comfy .sd .load_clip (ckpt_paths = [clip_path ], embedding_directory = folder_paths .get_folder_paths ("embeddings" ), clip_type = clip_type )
913913 return (clip ,)
914914
915915class DualCLIPLoader :
916916 @classmethod
917917 def INPUT_TYPES (s ):
918- return {"required" : { "clip_name1" : (folder_paths .get_filename_list ("clip " ), ),
919- "clip_name2" : (folder_paths .get_filename_list ("clip " ), ),
918+ return {"required" : { "clip_name1" : (folder_paths .get_filename_list ("text_encoders " ), ),
919+ "clip_name2" : (folder_paths .get_filename_list ("text_encoders " ), ),
920920 "type" : (["sdxl" , "sd3" , "flux" ], ),
921921 }}
922922 RETURN_TYPES = ("CLIP" ,)
@@ -925,8 +925,8 @@ def INPUT_TYPES(s):
925925 CATEGORY = "advanced/loaders"
926926
927927 def load_clip (self , clip_name1 , clip_name2 , type ):
928- clip_path1 = folder_paths .get_full_path_or_raise ("clip " , clip_name1 )
929- clip_path2 = folder_paths .get_full_path_or_raise ("clip " , clip_name2 )
928+ clip_path1 = folder_paths .get_full_path_or_raise ("text_encoders " , clip_name1 )
929+ clip_path2 = folder_paths .get_full_path_or_raise ("text_encoders " , clip_name2 )
930930 if type == "sdxl" :
931931 clip_type = comfy .sd .CLIPType .STABLE_DIFFUSION
932932 elif type == "sd3" :
0 commit comments