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:
2
nodes.py
2
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
|
||||
|
Reference in New Issue
Block a user