aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorAngelBottomless <35677394+aria1th@users.noreply.github.com>2022-11-02 13:18:31 +0000
committerGitHub <noreply@github.com>2022-11-02 13:18:31 +0000
commit10b280e9a21d7bbe854b212164b955444610743f (patch)
treeb1807fb11220f2607305ba47172b41c87441007a /modules/extras.py
parent9b5f85ac83f864310fe19c9deab6670bad695b0d (diff)
parent172c4bc09f0866e7dd114068ebe0f9abfe79ef33 (diff)
downloadstable-diffusion-webui-gfx803-10b280e9a21d7bbe854b212164b955444610743f.tar.gz
stable-diffusion-webui-gfx803-10b280e9a21d7bbe854b212164b955444610743f.tar.bz2
stable-diffusion-webui-gfx803-10b280e9a21d7bbe854b212164b955444610743f.zip
Merge branch 'AUTOMATIC1111:master' into force-push-patch-13
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)