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
aa2ddfab
Commit
aa2ddfab
authored
Mar 21, 2023
by
comfyanonymous
Browse files
Fix bug with CLIPLoader.
parent
fc935f8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
nodes.py
nodes.py
+1
-1
No files found.
nodes.py
View file @
aa2ddfab
...
@@ -337,7 +337,7 @@ class CLIPLoader:
...
@@ -337,7 +337,7 @@ class CLIPLoader:
def
load_clip
(
self
,
clip_name
):
def
load_clip
(
self
,
clip_name
):
clip_path
=
folder_paths
.
get_full_path
(
"clip"
,
clip_name
)
clip_path
=
folder_paths
.
get_full_path
(
"clip"
,
clip_name
)
clip
=
comfy
.
sd
.
load_clip
(
ckpt_path
=
clip_path
,
embedding_directory
=
CheckpointLoader
.
embedding_directory
)
clip
=
comfy
.
sd
.
load_clip
(
ckpt_path
=
clip_path
,
embedding_directory
=
folder_paths
.
get_folder_paths
(
"embeddings"
)
)
return
(
clip
,)
return
(
clip
,)
class
CLIPVisionLoader
:
class
CLIPVisionLoader
:
...
...
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