Revert "fix for swininr PR breaking ESRGAN for new users"

This reverts commit 8d1d64f9a2.
This commit is contained in:
AUTOMATIC
2022-09-21 09:09:20 +03:00
parent 8d1d64f9a2
commit 6785fabefb
2 changed files with 3 additions and 3 deletions

View File

@@ -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,
)