aboutsummaryrefslogtreecommitdiff
path: root/modules/extras.py
diff options
context:
space:
mode:
authorMuhammad Rizqi Nur <rizqinur2010@gmail.com>2022-11-02 00:25:08 +0700
committerGitHub <noreply@github.com>2022-11-02 00:25:08 +0700
commitf8c6468d42e1202f7aeaeb961ab003aa0a2daf99 (patch)
treea2542ce9bd8bba1e8aa93acd510a12ca8a0b344f /modules/extras.py
parent7c8c3715f552378cf81ad28f26fad92b37bd153d (diff)
parent198a1ffcfc963a3d74674fad560e87dbebf7949f (diff)
Merge branch 'master' into vae-picker
Diffstat (limited to 'modules/extras.py')
-rw-r--r--modules/extras.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/extras.py b/modules/extras.py
index 4d51088b..8e2ab35c 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -141,7 +141,7 @@ def run_extras(extras_mode, resize_mode, image, image_folder, input_dir, output_
upscaling_resize_w, upscaling_resize_h, upscaling_crop)
cache_key = LruCache.Key(image_hash=hash(np.array(image.getdata()).tobytes()),
info_hash=hash(info),
- args_hash=hash(upscale_args))
+ args_hash=hash((upscale_args, upscale_first)))
cached_entry = cached_images.get(cache_key)
if cached_entry is None:
res = upscale(image, *upscale_args)