aboutsummaryrefslogtreecommitdiffstats
path: root/modules/realesrgan_model.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-21 06:09:20 +0000
committerAUTOMATIC <16777216c@gmail.com>2022-09-21 06:09:20 +0000
commit6785fabefb57e95f563527ce6171ec4fa9ea6b7d (patch)
tree1ad1d6724a9a784594c870b98b701c9a4da7d202 /modules/realesrgan_model.py
parent8d1d64f9a238272d7a166d21e25cf529c09b2ad5 (diff)
downloadstable-diffusion-webui-gfx803-6785fabefb57e95f563527ce6171ec4fa9ea6b7d.tar.gz
stable-diffusion-webui-gfx803-6785fabefb57e95f563527ce6171ec4fa9ea6b7d.tar.bz2
stable-diffusion-webui-gfx803-6785fabefb57e95f563527ce6171ec4fa9ea6b7d.zip
Revert "fix for swininr PR breaking ESRGAN for new users"
This reverts commit 8d1d64f9a238272d7a166d21e25cf529c09b2ad5.
Diffstat (limited to 'modules/realesrgan_model.py')
-rw-r--r--modules/realesrgan_model.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/realesrgan_model.py b/modules/realesrgan_model.py
index 8873b381..e2cef0c8 100644
--- a/modules/realesrgan_model.py
+++ b/modules/realesrgan_model.py
@@ -77,7 +77,7 @@ def upscale_with_realesrgan(image, RealESRGAN_upscaling, RealESRGAN_model_index)
model_path=info.location,
model=model,
half=not cmd_opts.no_half,
- tile=opts.GAN_tile,
+ tile=opts.ESRGAN_tile,
tile_pad=opts.ESRGAN_tile_overlap,
)