MCPcopy
hub / github.com/city96/ComfyUI-GGUF / load_clip

Method load_clip

nodes.py:248–251  ·  view source on GitHub ↗
(self, clip_name, type="stable_diffusion")

Source from the content-addressed store, hash-verified

246 return clip
247
248 def load_clip(self, clip_name, type="stable_diffusion"):
249 clip_path = folder_paths.get_full_path("clip", clip_name)
250 clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION)
251 return (self.load_patcher([clip_path], clip_type, self.load_data([clip_path])),)
252
253class DualCLIPLoaderGGUF(CLIPLoaderGGUF):
254 @classmethod

Callers

nothing calls this directly

Calls 2

load_patcherMethod · 0.95
load_dataMethod · 0.95

Tested by

no test coverage detected