code: def ui(self):
      with ui_components.InputAccordion(
          False, label="Auto focal point crop"
      ) as enable:
          face_weight = gr.Slider(
              label="Focal point face weight",
              value=0.9,
              minimum=0.0,
              maximum=1.0,
              step=0.05,
              elem_id="postprocess_focal_crop_face_weight",
          )
          entropy_weight = gr.Slider(
              label="Focal point entropy weight",
              value=0.15,
              minimum=0.0,
              maximum=1.0,
              step=0.05,
              elem_id="postprocess_focal_crop_entropy_weight",
          )
          edges_weight = gr.Slider(
              label="Focal point edges weight",
              value=0.5,
              minimum=0.0,
              maximum=1.0,
              step=0.05,
              elem_id="postprocess_focal_crop_edges_weight",
          )
          debug = gr.Checkbox(
              label="Create debug image",
              elem_id="train_process_focal_crop_debug",
          )
  
      return {
          "enable": enable,
          "face_weight": face_weight,
          "entropy_weight": entropy_weight,
          "edges_weight": edges_weight,
          "debug": debug,
      }
  
imports: from modules import scripts_postprocessing, ui_components, errors
  import gradio
  from modules.textual_inversion import autocrop
label_desc: Use image node_id 1 for calling the ScriptPostprocessingFocalCrop obj's underlying member method code with example usage: obj.ui() and returns: dict