code: def ui(self, is_img2img):
      self.postprocessing_controls = self.script.ui()
      return self.postprocessing_controls.values()
  
file_path: stable-diffusion-webui/modules/scripts_auto_postprocessing.py
imports: from modules import scripts, scripts_postprocessing, shared
label_desc: Use image node_id 4 for calling the ScriptPostprocessingForMainUI obj's underlying member method code with example usage: obj.ui(is_img2img) and returns: self