aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorpapuSpartan <30642826+papuSpartan@users.noreply.github.com>2022-11-01 19:05:57 +0000
committerGitHub <noreply@github.com>2022-11-01 19:05:57 +0000
commitd0d74e459dee07fdb63783812a1a442d03fbe54f (patch)
tree18e08ec3d8c0450a6328aae0355403854944cd02 /modules/extras.py
parent401350cd59555439570ba5bc95f0ac5698e372e4 (diff)
parent198a1ffcfc963a3d74674fad560e87dbebf7949f (diff)
downloadstable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.gz
stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.tar.bz2
stable-diffusion-webui-gfx803-d0d74e459dee07fdb63783812a1a442d03fbe54f.zip
Merge branch 'AUTOMATIC1111:master' into js
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)