aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorevshiron <evshiron@gmail.com>2022-11-02 04:31:33 +0000
committerevshiron <evshiron@gmail.com>2022-11-02 04:31:33 +0000
commit51e0a83969925e6b7b12b9b087d028c16ce04e3c (patch)
treebbccf573783cd2449e3774fe949c81dced83b6d4 /modules/extras.py
parent1a4ff2de6a835cd8cc1590bbc1a8dedb5ad37e5b (diff)
parent55688c48806f9383f3a56f6b9a0ab8fbf205edd2 (diff)
downloadstable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.tar.gz
stable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.tar.bz2
stable-diffusion-webui-gfx803-51e0a83969925e6b7b12b9b087d028c16ce04e3c.zip
Merge branch 'master' into fix/progress-api
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)