diff options
author | AUTOMATIC <16777216c@gmail.com> | 2022-09-30 06:46:52 +0000 |
---|---|---|
committer | AUTOMATIC <16777216c@gmail.com> | 2022-09-30 06:46:52 +0000 |
commit | 8f1b3153180da3b626529a7d077eac63d4b2e5e4 (patch) | |
tree | f6fb5107b69112e5c5a3bcd3d101e0bedf6c2cb2 /modules/upscaler.py | |
parent | 25414bcd05ef8072ce97056039bdd99379b74be9 (diff) | |
download | stable-diffusion-webui-gfx803-8f1b3153180da3b626529a7d077eac63d4b2e5e4.tar.gz stable-diffusion-webui-gfx803-8f1b3153180da3b626529a7d077eac63d4b2e5e4.tar.bz2 stable-diffusion-webui-gfx803-8f1b3153180da3b626529a7d077eac63d4b2e5e4.zip |
fix bugs in the PR
Diffstat (limited to 'modules/upscaler.py')
-rw-r--r-- | modules/upscaler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/upscaler.py b/modules/upscaler.py index d698282f..7b51844f 100644 --- a/modules/upscaler.py +++ b/modules/upscaler.py @@ -60,7 +60,7 @@ class Upscaler: break img = self.do_upscale(img, selected_model) if img.width != dest_w or img.height != dest_h: - img = img.resize(dest_w, dest_h, resample=LANCZOS) + img = img.resize((dest_w, dest_h), resample=LANCZOS) return img |