1
0
Fork 0

lint(api): fix interpolation in some log messages

This commit is contained in:
Sean Sube 2023-02-02 18:52:31 -06:00
parent a1298f1565
commit aff3a3f2ee
Signed by: ssube
GPG Key ID: 3EED7B957D362AF1
1 changed files with 2 additions and 2 deletions

View File

@ -81,7 +81,7 @@ def upscale_resrgan(
upscale: UpscaleParams,
**kwargs,
) -> Image.Image:
logger.info('upscaling image with Real ESRGAN', upscale.scale)
logger.info('upscaling image with Real ESRGAN: x%s', upscale.scale)
output = np.array(source_image)
upsampler = load_resrgan(ctx, upscale, tile=stage.tile_size)
@ -89,5 +89,5 @@ def upscale_resrgan(
output, _ = upsampler.enhance(output, outscale=upscale.outscale)
output = Image.fromarray(output, 'RGB')
logger.info('final output image size', output.size)
logger.info('final output image size: %sx%s', output.width, output.height)
return output