aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorBilly Cao <aliencaocao@gmail.com>2022-11-03 05:08:26 +0000
committerGitHub <noreply@github.com>2022-11-03 05:08:26 +0000
commit688aa2c9c1ce6cf65c43b6113411a185e294412b (patch)
tree32514b496717c3375988e180d51daa608b045e60 /modules/extras.py
parentfb1374791bf4b4c9b49de5378f29b12fdabcac97 (diff)
parentd98eacea40c7a40227f36dbea9cf92f90489310b (diff)
downloadstable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.tar.gz
stable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.tar.bz2
stable-diffusion-webui-gfx803-688aa2c9c1ce6cf65c43b6113411a185e294412b.zip
Merge branch 'AUTOMATIC1111:master' into fix_nowebui_arg
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)