From 161223b76bcfa9482250713b4d4cbd648f035233 Mon Sep 17 00:00:00 2001 From: Silversith Date: Wed, 19 Apr 2023 11:26:38 +0200 Subject: [PATCH] Update __init__.py --- custom_nodes/facerestore/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/custom_nodes/facerestore/__init__.py b/custom_nodes/facerestore/__init__.py index 6557306aa..3890cfc81 100644 --- a/custom_nodes/facerestore/__init__.py +++ b/custom_nodes/facerestore/__init__.py @@ -120,7 +120,7 @@ class FaceRestoreWithModel: device = model_management.get_torch_device() upscale_model.to(device) if self.face_helper is None: - self.face_helper = FaceRestoreHelper(1, face_size=512, crop_ratio=(1, 1), det_model=facedetection, save_ext='png', use_parse=True, device=device) + self.face_helper = FaceRestoreHelper(1, face_size=768, crop_ratio=(1, 1), det_model=facedetection, save_ext='png', use_parse=True, device=device) image_np = 255. * image_itm.cpu().numpy().squeeze()