From 36ea8784a875bde21c88f84dfb99475b6e8187e8 Mon Sep 17 00:00:00 2001 From: comfyanonymous Date: Sat, 2 Sep 2023 03:34:57 -0400 Subject: [PATCH] Only return tuple of 3 args in CheckpointLoaderSimple. --- nodes.py | 2 +- web/scripts/ui.js | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/nodes.py b/nodes.py index 38d947d6..fa26e593 100644 --- a/nodes.py +++ b/nodes.py @@ -449,7 +449,7 @@ class CheckpointLoaderSimple: def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True): 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 + return out[:3] class DiffusersLoader: @classmethod diff --git a/web/scripts/ui.js b/web/scripts/ui.js index 8611c248..ce3f4fce 100644 --- a/web/scripts/ui.js +++ b/web/scripts/ui.js @@ -620,7 +620,6 @@ export class ComfyUI { $el("div",[ $el("label", {innerHTML: "Batch count"}), - $el("input", { id: "batchCountInputNumber", type: "number",