code: def process(
      self,
      pp: scripts_postprocessing.PostprocessedImage,
      enable,
      gfpgan_visibility,
  ):
      if gfpgan_visibility == 0 or not enable:
          return
  
      restored_img = gfpgan_model.gfpgan_fix_faces(
          np.array(pp.image, dtype=np.uint8)
      )
      res = Image.fromarray(restored_img)
  
      if gfpgan_visibility < 1.0:
          res = Image.blend(pp.image, res, gfpgan_visibility)
  
      pp.image = res
      pp.info["GFPGAN visibility"] = round(gfpgan_visibility, 3)
  
file_path: stable-diffusion-webui/scripts/postprocessing_gfpgan.py
imports: from PIL import Image
  import numpy
  from modules import scripts_postprocessing, gfpgan_model, ui_components
  import gradio
label_desc: Use image node_id 2 for calling the ScriptPostprocessingGfpGan obj's underlying member method code with example usage: obj.process(pp, enable, gfpgan_visibility) without return types