Only return tuple of 3 args in CheckpointLoaderSimple.
This commit is contained in:
parent
7891d13329
commit
36ea8784a8
2
nodes.py
2
nodes.py
|
@ -449,7 +449,7 @@ class CheckpointLoaderSimple:
|
||||||
def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True):
|
def load_checkpoint(self, ckpt_name, output_vae=True, output_clip=True):
|
||||||
ckpt_path = folder_paths.get_full_path("checkpoints", ckpt_name)
|
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"))
|
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:
|
class DiffusersLoader:
|
||||||
@classmethod
|
@classmethod
|
||||||
|
|
|
@ -620,7 +620,6 @@ export class ComfyUI {
|
||||||
$el("div",[
|
$el("div",[
|
||||||
|
|
||||||
$el("label", {innerHTML: "Batch count"}),
|
$el("label", {innerHTML: "Batch count"}),
|
||||||
|
|
||||||
$el("input", {
|
$el("input", {
|
||||||
id: "batchCountInputNumber",
|
id: "batchCountInputNumber",
|
||||||
type: "number",
|
type: "number",
|
||||||
|
|
Loading…
Reference in New Issue