From 69f1f3e7e7220e54a5bda1303b8846be4df9530f Mon Sep 17 00:00:00 2001 From: Isi Date: Mon, 12 Jan 2026 22:22:08 +0100 Subject: [PATCH] Update delete_model_passthrough.py --- delete_model_passthrough.py | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/delete_model_passthrough.py b/delete_model_passthrough.py index 70748bd..9b34975 100644 --- a/delete_model_passthrough.py +++ b/delete_model_passthrough.py @@ -470,7 +470,7 @@ class ControlledControlNetLoader: print(f"🚀 Loading ControlNet...") # Simply call the original class method - return ControlNetLoader.load_controlnet(self, *args, **kwargs) + return ControlNetLoader.load_controlnet(*args, **kwargs) class ControlledVAELoader: @@ -496,7 +496,7 @@ class ControlledVAELoader: print(f"🚀 Loading VAE...") # Simply call the original class method - return VAELoader.load_vae(self, *args, **kwargs) + return VAELoader.load_vae(*args, **kwargs) class ControlledUnetLoaderGGUF: @@ -529,7 +529,7 @@ class ControlledUnetLoaderGGUF: print(f"Loading UNet...") # Simply call the original class method - return UnetLoaderGGUF.load_unet(self, *args, **kwargs) + return UnetLoaderGGUF.load_unet(*args, **kwargs) class ControlledModelPatchLoader: @@ -556,7 +556,7 @@ class ControlledModelPatchLoader: print(f"🚀 Loading Model Patch...") # Simply call the original class method - return ModelPatchLoader.load_model_patch(self, *args, **kwargs) + return ModelPatchLoader.load_model_patch(*args, **kwargs) class ControlledUNETLoader: @classmethod @@ -585,7 +585,7 @@ class ControlledUNETLoader: print("🚀 Loading UNet...") # Forward call to original loader - return UNETLoader.load_unet(self, *args, **kwargs) + return UNETLoader.load_unet(*args, **kwargs) class ControlledCLIPTextEncode: @classmethod @@ -615,7 +615,7 @@ class ControlledCLIPTextEncode: print("🚀 Encoding text with CLIP...") # Forward to original class method - return CLIPTextEncode.encode(self, *args, **kwargs) + return CLIPTextEncode.encode(*args, **kwargs) # Experimental Factory code