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
10ad4c1d
Commit
10ad4c1d
authored
Apr 04, 2023
by
comfyanonymous
Browse files
Move unclip stuff out of _for_testing
parent
e46b1c30
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
nodes.py
nodes.py
+4
-4
No files found.
nodes.py
View file @
10ad4c1d
...
...
@@ -197,7 +197,7 @@ class CheckpointLoader:
RETURN_TYPES
=
(
"MODEL"
,
"CLIP"
,
"VAE"
)
FUNCTION
=
"load_checkpoint"
CATEGORY
=
"loaders"
CATEGORY
=
"
advanced/
loaders"
def
load_checkpoint
(
self
,
config_name
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
config_path
=
folder_paths
.
get_full_path
(
"configs"
,
config_name
)
...
...
@@ -227,7 +227,7 @@ class unCLIPCheckpointLoader:
RETURN_TYPES
=
(
"MODEL"
,
"CLIP"
,
"VAE"
,
"CLIP_VISION"
)
FUNCTION
=
"load_checkpoint"
CATEGORY
=
"
_for_testing/unclip
"
CATEGORY
=
"
loaders
"
def
load_checkpoint
(
self
,
ckpt_name
,
output_vae
=
True
,
output_clip
=
True
):
ckpt_path
=
folder_paths
.
get_full_path
(
"checkpoints"
,
ckpt_name
)
...
...
@@ -450,7 +450,7 @@ class unCLIPConditioning:
RETURN_TYPES
=
(
"CONDITIONING"
,)
FUNCTION
=
"apply_adm"
CATEGORY
=
"
_for_testing/unclip
"
CATEGORY
=
"
conditioning
"
def
apply_adm
(
self
,
conditioning
,
clip_vision_output
,
strength
,
noise_augmentation
):
c
=
[]
...
...
@@ -1038,7 +1038,6 @@ class ImagePadForOutpaint:
NODE_CLASS_MAPPINGS
=
{
"KSampler"
:
KSampler
,
"CheckpointLoader"
:
CheckpointLoader
,
"CheckpointLoaderSimple"
:
CheckpointLoaderSimple
,
"CLIPTextEncode"
:
CLIPTextEncode
,
"CLIPSetLastLayer"
:
CLIPSetLastLayer
,
...
...
@@ -1077,6 +1076,7 @@ NODE_CLASS_MAPPINGS = {
"VAEEncodeTiled"
:
VAEEncodeTiled
,
"TomePatchModel"
:
TomePatchModel
,
"unCLIPCheckpointLoader"
:
unCLIPCheckpointLoader
,
"CheckpointLoader"
:
CheckpointLoader
,
}
def
load_custom_node
(
module_path
):
...
...
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