  
      def initialize_tkinter(self):
          """ Initialize tkinter for standalone or GUI """
          logger.debug("Initializing tkinter")
          initialize_config(self.root, None, None, None)
          initialize_images()
          self.set_geometry()
          self.root.title("Faceswap.py - Convert Settings")
          self.root.tk.call(
              "wm",
 
</s> remove         self.set_geometry()
        self.root.title("Faceswap.py - Convert Settings")
        self.root.tk.call(
 </s> add         self._set_geometry()
        self.title("Faceswap.py - Convert Settings")
        self.tk.call( </s> remove     def initialize_tkinter(self):
        """ Initialize tkinter for standalone or GUI """
 </s> add     def _initialize_tkinter(self):
        """ Initialize a standalone tkinter instance. """ </s> remove             self.root._w, get_images().icons["favicon"])  # pylint:disable=protected-access
 </s> add             self._w, get_images().icons["favicon"])  # pylint:disable=protected-access </s> remove         self.display = FacesDisplay(256, 64, self.tk_vars)
        self.samples = Samples(arguments, 5, self.display, self.lock, self.trigger_patch)
        self.patch = Patch(arguments,
                           self.samples,
                           self.display,
                           self.lock,
                           self.trigger_patch,
                           self.config_tools,
                           self.tk_vars)

        self.initialize_tkinter()
        self.image_canvas = None
        self.opts_book = None
        self.cli_frame = None  # cli frame holds cli options
 </s> add         self._display = FacesDisplay(256, 64, self._tk_vars)

        trigger_patch = Event()
        self._samples = Samples(arguments, 5, self._display, self._lock, trigger_patch)
        self._patch = Patch(arguments,
                            self._samples,
                            self._display,
                            self._lock,
                            trigger_patch,
                            self._config_tools,
                            self._tk_vars)

        self._initialize_tkinter()
        self._image_canvas = None
        self._opts_book = None
        self._cli_frame = None  # cli frame holds cli options </s> remove     """ Filter in or out faces based on input image(s)
        Extract or Convert """
 </s> add     """ Filter in or out faces based on input image(s). Extract or Convert

    Parameters
    -----------
    args: tuple
        Unused
    kwargs: dict
        Keyword arguments for face filter:

        * **detector** (`str`) - The detector to use

        * **aligner** (`str`) - The aligner to use

        * **multiprocess** (`bool`) - Whether to run the extraction pipeline in single process \
        mode or not

        * **ref_threshold** (`float`) - The reference threshold for a positive match

        * **filter_lists** (`dict`) - The filter and nfilter image paths
    """
        initialize_config(self, None, None, None)
  
      def initialize_tkinter(self):
          """ Initialize tkinter for standalone or GUI """
          logger.debug("Initializing tkinter")
        initialize_config(self, None, None, None)
          initialize_images()
          self.set_geometry()
          self.root.title("Faceswap.py - Convert Settings")
          self.root.tk.call(
              "wm",
keep keep keep keep replace keep keep keep keep keep
 Smart Masks to Convert (#957)

- scripts.convert - Use Smart Masks for Convert
    * Make on-the-fly conversion an explicit option

- Move BlurMask to lib.faces_detect

- tools.preview - Fix for smart masks
    * Subclass from tk.Tk
    * Options to lib.gui.control_helper
    *variable cleanup

- lib.logger - Demote more tensorflow deprecation messages

- Documentation:
    * lib.faces_detect.BlurMask
    * plugins.convert.mask
    * lib.convert
    * scripts.convert
    * scripts.fsmedia
    * tools.preview 
tools/preview.py