  
      def __init__(self, parent, category, command):
          logger.debug("Initializing %s: (category: '%s', command: '%s')",
                       self.__class__.__name__, category, command)
          ttk.Frame.__init__(self, parent)
  
          self.category = category
          self.actionbtns = parent.actionbtns
          self.command = command
  
 
</s> remove class CommandTab(ttk.Frame):  # pylint: disable=too-many-ancestors
 </s> add class ToolsNotebook(ttk.Notebook):  # pylint:disable=too-many-ancestors
    """ Tools sit in their own tab, but need to inherit objects from the main command notebook """
    def __init__(self, parent):
        super().__init__(parent)
        self.actionbtns = parent.actionbtns


class CommandTab(ttk.Frame):  # pylint:disable=too-many-ancestors </s> remove         ttk.Frame.__init__(self, parent)
 </s> add         super().__init__(parent) </s> remove                 commandtab = CommandTab(self, category, command)
                self.add(commandtab, text=title)
 </s> add                 commandtab = CommandTab(book, category, command)
                book.add(commandtab, text=title)
        self.add(self.tools_notebook, text="Tools") </s> remove         ttk.Notebook.__init__(self, parent, width=width, height=height)
 </s> add         self.actionbtns = dict()
        super().__init__(parent, width=width, height=height)
        super().__init__(parent)
  
      def __init__(self, parent, category, command):
          logger.debug("Initializing %s: (category: '%s', command: '%s')",
                       self.__class__.__name__, category, command)
        super().__init__(parent)
  
          self.category = category
          self.actionbtns = parent.actionbtns
          self.command = command
  
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