aboutsummaryrefslogtreecommitdiff
path: root/modules/realesrgan_model.py
diff options
context:
space:
mode:
authorAUTOMATIC <16777216c@gmail.com>2022-09-21 08:39:47 +0300
committerAUTOMATIC <16777216c@gmail.com>2022-09-21 08:39:47 +0300
commit8d1d64f9a238272d7a166d21e25cf529c09b2ad5 (patch)
tree9bfa8239c7bfcd8070c12f56d2743bcf3681dab6 /modules/realesrgan_model.py
parent1578859305f3593fa213309e505905e607a0e52c (diff)
fix for swininr PR breaking ESRGAN for new users
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 e2cef0c8..8873b381 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.ESRGAN_tile,
+ tile=opts.GAN_tile,
tile_pad=opts.ESRGAN_tile_overlap,
)