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
85865158
Commit
85865158
authored
Mar 03, 2023
by
comfyanonymous
Browse files
Move the CheckpointLoaderSimple to the right section.
parent
42152062
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 @
85865158
...
...
@@ -213,7 +213,7 @@ class CheckpointLoaderSimple:
RETURN_TYPES
=
(
"MODEL"
,
"CLIP"
,
"VAE"
)
FUNCTION
=
"load_checkpoint"
CATEGORY
=
"
_for_testing
"
CATEGORY
=
"
loaders
"
def
load_checkpoint
(
self
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
ckpt_path
=
os
.
path
.
join
(
self
.
ckpt_dir
,
ckpt_name
)
...
...
@@ -844,6 +844,7 @@ class ImageInvert:
NODE_CLASS_MAPPINGS
=
{
"KSampler"
:
KSampler
,
"CheckpointLoader"
:
CheckpointLoader
,
"CheckpointLoaderSimple"
:
CheckpointLoaderSimple
,
"CLIPTextEncode"
:
CLIPTextEncode
,
"CLIPSetLastLayer"
:
CLIPSetLastLayer
,
"VAEDecode"
:
VAEDecode
,
...
...
@@ -872,7 +873,6 @@ NODE_CLASS_MAPPINGS = {
"DiffControlNetLoader"
:
DiffControlNetLoader
,
"T2IAdapterLoader"
:
T2IAdapterLoader
,
"VAEDecodeTiled"
:
VAEDecodeTiled
,
"CheckpointLoaderSimple"
:
CheckpointLoaderSimple
,
}
CUSTOM_NODE_PATH
=
os
.
path
.
join
(
os
.
path
.
dirname
(
os
.
path
.
realpath
(
__file__
)),
"custom_nodes"
)
...
...
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