From 0dccb4617de61b81763321f01ae527dbe3b01202 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Thu, 6 Jun 2024 14:49:45 -0400 Subject: [PATCH] Remove some unnecessary arguments. --- nodes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 34821ca3..f454ff8c 100644 --- a/nodes.py +++ b/nodes.py @@ -496,7 +496,7 @@ class CheckpointLoader: CATEGORY = "advanced/loaders" - def load_checkpoint(self, config_name, ckpt_name, output_vae=True, output_clip=True): + def load_checkpoint(self, config_name, ckpt_name): config_path = folder_paths.get_full_path("configs", config_name) ckpt_path = folder_paths.get_full_path("checkpoints", ckpt_name) return comfy.sd.load_checkpoint(config_path, ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) @@ -511,7 +511,7 @@ class CheckpointLoaderSimple: CATEGORY = "loaders" - def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True): + def load_checkpoint(self, ckpt_name): ckpt_path = folder_paths.get_full_path("checkpoints", ckpt_name) out = comfy.sd.load_checkpoint_guess_config(ckpt_path, output_vae=True, output_clip=True, embedding_directory=folder_paths.get_folder_paths("embeddings")) return out[:3]