From dfc635223c74fadcaec68a29d057ea636d32436f Mon Sep 17 00:00:00 2001 From: Darren Ringer Date: Tue, 3 Oct 2023 21:43:16 -0400 Subject: [PATCH] Update upscale.py with minor style correction --- invokeai/app/invocations/upscale.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/invokeai/app/invocations/upscale.py b/invokeai/app/invocations/upscale.py index c93c325bb3..7cb074a041 100644 --- a/invokeai/app/invocations/upscale.py +++ b/invokeai/app/invocations/upscale.py @@ -29,7 +29,9 @@ class ESRGANInvocation(BaseInvocation): image: ImageField = InputField(description="The input image") model_name: ESRGAN_MODELS = InputField(default="RealESRGAN_x4plus.pth", description="The Real-ESRGAN model to use") - tile_size: int = InputField(default=512, ge=0, description="Tile size for tiled ESRGAN upscaling (0=tiling disabled)") + tile_size: int = InputField( + default=512, ge=0, description="Tile size for tiled ESRGAN upscaling (0=tiling disabled)" + ) def invoke(self, context: InvocationContext) -> ImageOutput: image = context.services.images.get_pil_image(self.image.image_name)