(self, clip_name, type="stable_diffusion")
| 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 | |
| 253 | class DualCLIPLoaderGGUF(CLIPLoaderGGUF): |
| 254 | @classmethod |
nothing calls this directly
no test coverage detected