diff --git a/src/spandrel/architectures/GFPGAN/__init__.py b/src/spandrel/architectures/GFPGAN/__init__.py index 2d8a5172..144ef211 100644 --- a/src/spandrel/architectures/GFPGAN/__init__.py +++ b/src/spandrel/architectures/GFPGAN/__init__.py @@ -18,10 +18,6 @@ def load(state_dict: StateDict) -> FaceSRModelDescriptor[GFPGANv1Clean]: narrow = 1 sft_half = True - input_is_latent = input_is_latent - different_w = different_w - num_style_feat = num_style_feat - model = GFPGANv1Clean( out_size=out_size, num_style_feat=num_style_feat,