aboutsummaryrefslogtreecommitdiffstats
path: root/modules/extras.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-12 13:17:32 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-12 13:17:32 +0000
commit11e648f6c75de2fb22460d34a618dbb3aa6df0bc (patch)
treecefc7b415da735fd60b1e11b062fadc7f6ff5e28 /modules/extras.py
parenta1305060ce9a25ffb4752e2adc43c846a0f45bc5 (diff)
downloadstable-diffusion-webui-gfx803-11e648f6c75de2fb22460d34a618dbb3aa6df0bc.tar.gz
stable-diffusion-webui-gfx803-11e648f6c75de2fb22460d34a618dbb3aa6df0bc.tar.bz2
stable-diffusion-webui-gfx803-11e648f6c75de2fb22460d34a618dbb3aa6df0bc.zip
allow resizing into non-integer sizes
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 9a8a0976..40935f98 100644
--- a/modules/extras.py
+++ b/modules/extras.py
@@ -65,7 +65,7 @@ def run_extras(image, gfpgan_visibility, codeformer_visibility, codeformer_weigh
while len(cached_images) > 2:
del cached_images[next(iter(cached_images.keys()))]
- images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras", p=p)
+ images.save_image(image, outpath, "", None, info=info, extension=opts.samples_format, short_filename=True, no_prompt=True, pnginfo_section_name="extras")
return image, plaintext_to_html(info), ''