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
638f9245
"vscode:/vscode.git/clone" did not exist on "b9d3e8eeec88d9522d2f391e4e50346e6e5cee39"
Commit
638f9245
authored
Feb 16, 2023
by
comfyanonymous
Browse files
Sort the list of input images.
parent
6135a21e
Changes
1
Show 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 @
638f9245
...
@@ -640,7 +640,7 @@ class LoadImage:
...
@@ -640,7 +640,7 @@ class LoadImage:
@
classmethod
@
classmethod
def
INPUT_TYPES
(
s
):
def
INPUT_TYPES
(
s
):
return
{
"required"
:
return
{
"required"
:
{
"image"
:
(
os
.
listdir
(
s
.
input_dir
),
)},
{
"image"
:
(
sorted
(
os
.
listdir
(
s
.
input_dir
)
)
,
)},
}
}
CATEGORY
=
"image"
CATEGORY
=
"image"
...
...
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