          height = int(500 * scaling_factor)
          ttk.Notebook.__init__(self, parent, width=width, height=height)
          parent.add(self)
  
          self.actionbtns = dict()
          self.set_running_task_trace()
          self.build_tabs()
          get_config().command_notebook = self
          logger.debug("Initialized %s", self.__class__.__name__)
  
 
</s> remove         ttk.Notebook.__init__(self, parent, width=width, height=height)
 </s> add         self.actionbtns = dict()
        super().__init__(parent, width=width, height=height) </s> remove         ttk.Frame.__init__(self, parent)
 </s> add         super().__init__(parent) </s> remove         pathcache = get_config().pathcache
 </s> add         pathcache = get_config().pathcache if pathcache is None else pathcache </s> remove         x_offset = int(34 * get_config().scaling_factor)
 </s> add         scaling_factor = get_config().scaling_factor if get_config() is not None else 1.0
        x_offset = int(34 * scaling_factor)
        self.tools_notebook = ToolsNotebook(self)
          height = int(500 * scaling_factor)
          ttk.Notebook.__init__(self, parent, width=width, height=height)
          parent.add(self)
  
        self.tools_notebook = ToolsNotebook(self)
          self.set_running_task_trace()
          self.build_tabs()
          get_config().command_notebook = self
          logger.debug("Initialized %s", self.__class__.__name__)
  
keep keep keep keep replace keep keep keep keep keep
 Convert settings tool (#737)

* Initial prediction pipeline and display

* Patch faces from convert pipeline. Load configs

* Add tkinter canvas for image display

* Radio buttons to config gui. Standardise config gui. Remove dssim loss from realface

* Add action frame

* Live update cli options

* Live update config changes

* Quicker frame loading. Refresh faces button callback

* remove debug code

* Add saving and reloading config buttons

* Reduce lag with threading

* Busy indicator + geometry updates

* Fix options canvas resizing

* Add global config saving and resetting

* tools to own tab

* Rename tool to 'preview'

* geometry tweak

* pep8 fixes 
lib/gui/command.py