class_docstr: allows saving and restoring default values for gradio components
class_docstr_tok: ["allows","saving","and","restoring","default","values","for","gradio","components"]
code: def ui_view(self, *values):
      text = [
          "<table><thead><tr><th>Path</th><th>Old value</th><th>New value</th></thead><tbody>"
      ]
  
      for path, old_value, new_value in self.iter_changes(
          self.read_from_file(), values
      ):
          if old_value is None:
              old_value = "<span class='ui-defaults-none'>None</span>"
  
          text.append(
              f"<tr><td>{path}</td><td>{old_value}</td><td>{new_value}</td></tr>"
          )
  
      if len(text) == 1:
          text.append("<tr><td colspan=3>No changes</td></tr>")
  
      text.append("</tbody>")
      return "".join(text)
  
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 8 for calling the UiLoadsave obj's underlying member method code with example usage: obj.ui_view() and returns: str