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
f51b7a92
Commit
f51b7a92
authored
Apr 06, 2023
by
sALTaccount
Browse files
search all diffusers paths (oops)
parent
72a8973b
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
nodes.py
nodes.py
+4
-3
No files found.
nodes.py
View file @
f51b7a92
...
...
@@ -224,7 +224,8 @@ class DiffusersLoader:
@
classmethod
def
INPUT_TYPES
(
cls
):
paths
=
[]
search_path
=
folder_paths
.
get_folder_paths
(
"diffusers"
)[
0
]
search_paths
=
folder_paths
.
get_folder_paths
(
"diffusers"
)
for
search_path
in
search_paths
:
if
os
.
path
.
exists
(
search_path
):
paths
=
next
(
os
.
walk
(
search_path
))[
1
]
return
{
"required"
:
{
"model_path"
:
(
paths
,),
}}
...
...
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