From 8d1d64f9a238272d7a166d21e25cf529c09b2ad5 Mon Sep 17 00:00:00 2001 From: AUTOMATIC <16777216c@gmail.com> Date: Wed, 21 Sep 2022 08:39:47 +0300 Subject: fix for swininr PR breaking ESRGAN for new users --- modules/realesrgan_model.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/realesrgan_model.py') 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, ) -- cgit v1.2.1