MCPcopy Index your code
hub / github.com/city96/ComfyUI-GGUF / load_clip

Method load_clip

nodes.py:268–273  ·  view source on GitHub ↗
(self, clip_name1, clip_name2, type)

Source from the content-addressed store, hash-verified

266 TITLE = "DualCLIPLoader (GGUF)"
267
268 def load_clip(self, clip_name1, clip_name2, type):
269 clip_path1 = folder_paths.get_full_path("clip", clip_name1)
270 clip_path2 = folder_paths.get_full_path("clip", clip_name2)
271 clip_paths = (clip_path1, clip_path2)
272 clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION)
273 return (self.load_patcher(clip_paths, clip_type, self.load_data(clip_paths)),)
274
275class TripleCLIPLoaderGGUF(CLIPLoaderGGUF):
276 @classmethod

Callers

nothing calls this directly

Calls 2

load_patcherMethod · 0.80
load_dataMethod · 0.80

Tested by

no test coverage detected