Only return tuple of 3 args in CheckpointLoaderSimple.

This commit is contained in:
comfyanonymous 2023-09-02 03:34:57 -04:00
parent 7891d13329
commit 36ea8784a8
2 changed files with 1 additions and 2 deletions

View File

@ -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

View File

@ -620,7 +620,6 @@ export class ComfyUI {
$el("div",[
$el("label", {innerHTML: "Batch count"}),
$el("input", {
id: "batchCountInputNumber",
type: "number",