Skip to content

The most powerful and modular diffusion model GUI, api and backend with a graph/nodes interface. The fastest local inference engine in the world.

Only return tuple of 3 args in CheckpointLoaderSimple.

comfyanonymous36ea8784a875
diff --git a/nodes.py b/nodes.py
index 38d947d65..fa26e5939 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 8611c2482..ce3f4fcee 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",