Skip to content

Commit

Permalink
VAECache: fix for jpg/jpeg images (fix tuple reference, pt 2)
Browse files Browse the repository at this point in the history
  • Loading branch information
bghira committed Dec 23, 2023
1 parent 14bcd49 commit 83eb6e3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions helpers/caching/vae.py
Original file line number Diff line number Diff line change
Expand Up @@ -162,9 +162,9 @@ def discover_unprocessed_files(self, directory: str = None):

# Convert cache filenames to their corresponding image filenames
existing_image_filenames = {
os.path.splitext(self._image_filename_from_vaecache_filename(cache_file))[
0
][0]
os.path.splitext(
self._image_filename_from_vaecache_filename(cache_file)[0]
)[0]
for cache_file in existing_cache_files
}

Expand Down

0 comments on commit 83eb6e3

Please sign in to comment.