docstr: This function should create gradio UI elements. See https://gradio.app/docs/#components
  The return value should be a dictionary that maps parameter names to components used in processing.
  Values of those components will be passed to process() function.
docstr_tok: ["This","function","should","create","gradio","UI","elements",".","See","https",":","\/\/gradio.app\/docs\/","#","components","The","return","value","should","be","a","dictionary","that","maps","parameter","names","to","components","used","in","processing",".","Values","of","those","components","will","be","passed","to","process","(",")","function","."]
code: def ui(self):
      """
      This function should create gradio UI elements. See https://gradio.app/docs/#components
      The return value should be a dictionary that maps parameter names to components used in processing.
      Values of those components will be passed to process() function.
      """
  
      pass
  
imports: import dataclasses
  import os
  import gradio
  from modules import errors, shared
label_desc: Use image node_id 1 for calling the ScriptPostprocessing obj's underlying member method code with example usage: obj.ui() without return types