class_docstr: allows saving and restoring default values for gradio components
class_docstr_tok: ["allows","saving","and","restoring","default","values","for","gradio","components"]
docstr: creates ui elements for editing defaults UI, without adding any logic to them
docstr_tok: ["creates","ui","elements","for","editing","defaults","UI",",","without","adding","any","logic","to","them"]
code: def create_ui(self):
      """creates ui elements for editing defaults UI, without adding any logic to them"""
  
      gr.HTML(
          f"This page allows you to change default values in UI elements on other tabs.<br />"
          f"Make your changes, press 'View changes' to review the changed default values,<br />"
          f"then press 'Apply' to write them to {self.filename}.<br />"
          f"New defaults will apply after you restart the UI.<br />"
      )
  
      with gr.Row():
          self.ui_defaults_view = gr.Button(
              value="View changes",
              elem_id="ui_defaults_view",
              variant="secondary",
          )
          self.ui_defaults_apply = gr.Button(
              value="Apply",
              elem_id="ui_defaults_apply",
              variant="primary",
          )
  
      self.ui_defaults_review = gr.HTML("")
  
file_path: stable-diffusion-webui/modules/ui_loadsave.py
imports: import json
  import os
  import gradio
  from modules import errors
  from modules.ui_components import ToolButton, InputAccordion
label_desc: Use image node_id 10 for calling the UiLoadsave obj's underlying member method code with example usage: obj.create_ui() without return types