From 11e648f6c75de2fb22460d34a618dbb3aa6df0bc Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Mon, 12 Sep 2022 16:17:32 +0300 Subject: allow resizing into non-integer sizes --- modules/extras.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/extras.py') 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), '' -- cgit v1.2.3