Instantaneous1 commited on
Commit
e392687
1 Parent(s): 3187e25

sort file for comnsistency

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -87,7 +87,7 @@ def get_all_file_paths(folder_path):
87
  file_path = os.path.join(root, file)
88
  file_paths.append(file_path)
89
  print(f"Total {len(file_paths)} image files present")
90
- return file_paths
91
 
92
 
93
  # Load all the images from file paths
 
87
  file_path = os.path.join(root, file)
88
  file_paths.append(file_path)
89
  print(f"Total {len(file_paths)} image files present")
90
+ return sorted(file_paths)
91
 
92
 
93
  # Load all the images from file paths