code: def ui(self, is_img2img):
      example = """from modules.processing import process_images
  
  p.width = 768
  p.height = 768
  p.batch_size = 2
  p.steps = 10
  
  return process_images(p)
  """
  
      code = gr.Code(
          value=example,
          language="python",
          label="Python code",
          elem_id=self.elem_id("code"),
      )
      indent_level = gr.Number(
          label="Indent level",
          value=2,
          precision=0,
          elem_id=self.elem_id("indent_level"),
      )
  
      return [code, indent_level]
  
file_path: stable-diffusion-webui/scripts/custom_code.py
imports: import modules.scripts
  import gradio
  import ast
  import copy
  from modules.processing import Processed
  from modules.shared import cmd_opts
label_desc: Use image node_id 3 for calling the Script obj's underlying member method code with example usage: obj.ui(is_img2img) and returns: list