Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
chenpangpang
ComfyUI
Commits
0dccb461
"deploy/vscode:/vscode.git/clone" did not exist on "74fdcfdb42d82ead0fd72b06dd68aae2dac074be"
Commit
0dccb461
authored
Jun 06, 2024
by
comfyanonymous
Browse files
Remove some unnecessary arguments.
parent
104fcea0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
nodes.py
nodes.py
+2
-2
No files found.
nodes.py
View file @
0dccb461
...
@@ -496,7 +496,7 @@ class CheckpointLoader:
...
@@ -496,7 +496,7 @@ class CheckpointLoader:
CATEGORY
=
"advanced/loaders"
CATEGORY
=
"advanced/loaders"
def
load_checkpoint
(
self
,
config_name
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
def
load_checkpoint
(
self
,
config_name
,
ckpt_name
):
config_path
=
folder_paths
.
get_full_path
(
"configs"
,
config_name
)
config_path
=
folder_paths
.
get_full_path
(
"configs"
,
config_name
)
ckpt_path
=
folder_paths
.
get_full_path
(
"checkpoints"
,
ckpt_name
)
ckpt_path
=
folder_paths
.
get_full_path
(
"checkpoints"
,
ckpt_name
)
return
comfy
.
sd
.
load_checkpoint
(
config_path
,
ckpt_path
,
output_vae
=
True
,
output_clip
=
True
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
))
return
comfy
.
sd
.
load_checkpoint
(
config_path
,
ckpt_path
,
output_vae
=
True
,
output_clip
=
True
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
))
...
@@ -511,7 +511,7 @@ class CheckpointLoaderSimple:
...
@@ -511,7 +511,7 @@ class CheckpointLoaderSimple:
CATEGORY
=
"loaders"
CATEGORY
=
"loaders"
def
load_checkpoint
(
self
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
def
load_checkpoint
(
self
,
ckpt_name
):
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
[:
3
]
return
out
[:
3
]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment