Sort the list of input images.

This commit is contained in:
comfyanonymous 2023-02-16 21:01:46 -05:00
parent 6135a21ee8
commit 638f924546
1 changed files with 1 additions and 1 deletions

View File

@ -640,7 +640,7 @@ class LoadImage:
@classmethod
def INPUT_TYPES(s):
return {"required":
{"image": (os.listdir(s.input_dir), )},
{"image": (sorted(os.listdir(s.input_dir)), )},
}
CATEGORY = "image"