(self, clip_name1, clip_name2, clip_name3, clip_name4, type="stable_diffusion")
| 310 | TITLE = "QuadrupleCLIPLoader (GGUF)" |
| 311 | |
| 312 | def load_clip(self, clip_name1, clip_name2, clip_name3, clip_name4, type="stable_diffusion"): |
| 313 | clip_path1 = folder_paths.get_full_path("clip", clip_name1) |
| 314 | clip_path2 = folder_paths.get_full_path("clip", clip_name2) |
| 315 | clip_path3 = folder_paths.get_full_path("clip", clip_name3) |
| 316 | clip_path4 = folder_paths.get_full_path("clip", clip_name4) |
| 317 | clip_paths = (clip_path1, clip_path2, clip_path3, clip_path4) |
| 318 | clip_type = getattr(comfy.sd.CLIPType, type.upper(), comfy.sd.CLIPType.STABLE_DIFFUSION) |
| 319 | return (self.load_patcher(clip_paths, clip_type, self.load_data(clip_paths)),) |
| 320 | |
| 321 | NODE_CLASS_MAPPINGS = { |
| 322 | "UnetLoaderGGUF": UnetLoaderGGUF, |
nothing calls this directly
no test coverage detected