  #!/usr/bin/env python3
  """ Command Line Arguments for tools """
  from lib.cli import FaceSwapArgs
  from lib.cli import (ContextFullPaths, DirFullPaths, FileFullPaths, FilesFullPaths,
                       SaveFileFullPaths, Radio, Slider)
  from lib.utils import _image_extensions
  
  
  class AlignmentsArgs(FaceSwapArgs):
      """ Class to parse the command line arguments for Aligments tool """
 
</s> remove from lib.cli import FullHelpArgumentParser, GuiArgs
 </s> add from lib.cli import FullHelpArgumentParser </s> remove logger = logging.getLogger(__name__)  # pylint: disable=invalid-name
 </s> add logger = logging.getLogger(__name__)  # pylint:disable=invalid-name </s> remove from .utils import adjust_wraplength, get_config, get_images, ContextMenu, set_slider_rounding
 </s> add from .utils import adjust_wraplength, get_config, get_images, ControlBuilder </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
from lib.cli import (ContextFullPaths, DirOrFileFullPaths, DirFullPaths, FileFullPaths,
                     FilesFullPaths, SaveFileFullPaths, Radio, Slider)
  #!/usr/bin/env python3
  """ Command Line Arguments for tools """
  from lib.cli import FaceSwapArgs
from lib.cli import (ContextFullPaths, DirOrFileFullPaths, DirFullPaths, FileFullPaths,
                     FilesFullPaths, SaveFileFullPaths, Radio, Slider)
from lib.cli import (ContextFullPaths, DirOrFileFullPaths, DirFullPaths, FileFullPaths,
                     FilesFullPaths, SaveFileFullPaths, Radio, Slider)
  from lib.utils import _image_extensions
  
  
  class AlignmentsArgs(FaceSwapArgs):
      """ Class to parse the command line arguments for Aligments tool """
keep keep keep replace 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 
tools/cli.py