Commit f51b7a92 authored by sALTaccount's avatar sALTaccount
Browse files

search all diffusers paths (oops)

parent 72a8973b
...@@ -224,7 +224,8 @@ class DiffusersLoader: ...@@ -224,7 +224,8 @@ class DiffusersLoader:
@classmethod @classmethod
def INPUT_TYPES(cls): def INPUT_TYPES(cls):
paths = [] 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): if os.path.exists(search_path):
paths = next(os.walk(search_path))[1] paths = next(os.walk(search_path))[1]
return {"required": {"model_path": (paths,), }} return {"required": {"model_path": (paths,), }}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment