diff options
author | random-thoughtss <116161560+random-thoughtss@users.noreply.github.com> | 2022-11-03 22:55:54 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-11-03 22:55:54 +0000 |
commit | 243253ff4a8ae944ba142abe9c1e78a92dd14ebe (patch) | |
tree | c40402e18a29ca9a9b167a2f9e47dab39dce0943 /modules/extras.py | |
parent | d9e4e4d7a09d4aee8ce249a3c8e91ce165b10fa5 (diff) | |
parent | 20a860b525cb7a319a42994f75a94bbca9a54d89 (diff) | |
download | stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.gz stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.tar.bz2 stable-diffusion-webui-gfx803-243253ff4a8ae944ba142abe9c1e78a92dd14ebe.zip |
Merge branch 'AUTOMATIC1111:master' into master
Diffstat (limited to 'modules/extras.py')
-rw-r--r-- | modules/extras.py | 2 |
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)
|