code: def ui(self, is_img2img):
      loops = gr.Slider(
          minimum=1,
          maximum=32,
          step=1,
          label="Loops",
          value=4,
          elem_id=self.elem_id("loops"),
      )
      final_denoising_strength = gr.Slider(
          minimum=0,
          maximum=1,
          step=0.01,
          label="Final denoising strength",
          value=0.5,
          elem_id=self.elem_id("final_denoising_strength"),
      )
      denoising_curve = gr.Dropdown(
          label="Denoising strength curve",
          choices=["Aggressive", "Linear", "Lazy"],
          value="Linear",
      )
      append_interrogation = gr.Dropdown(
          label="Append interrogated prompt at each iteration",
          choices=["None", "CLIP", "DeepBooru"],
          value="None",
      )
  
      return [
          loops,
          final_denoising_strength,
          denoising_curve,
          append_interrogation,
      ]
  
file_path: stable-diffusion-webui/scripts/loopback.py
imports: import math
  import gradio
  import modules.scripts
  from modules import deepbooru, images, processing, shared
  from modules.processing import Processed
  from modules.shared import opts, state
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