1
mirror of https://github.com/comfyanonymous/ComfyUI.git synced 2025-08-02 15:04:50 +08:00

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