      @property
      def convert_args(self):
          """ Return a dict of cli arguments for converter based on selected options """
          return {opt if opt != "color" else "color_adjustment":
                  self.format_from_display(self.tk_vars[opt].get())
                  for opt in self.options}
  
      @staticmethod
      def format_from_display(var):
          """ Format a variable from display version """
          return var.replace(" ", "_").lower()
 
</s> remove         """ Return a dict of cli arguments for converter based on selected options """
 </s> add         """ dict: Currently selected Command line arguments from the :class:`ActionFrame`. """ </s> remove     def format_from_display(var):
        """ Format a variable from display version """
 </s> add     def _format_from_display(var):
        """ Format a variable from the display version to the command line action version.

        Parameters
        ----------
        var: str
            The variable name to format

        Returns
        -------
        str
            The formatted variable name
        """ </s> remove         defaults = {opt: self.format_to_display(d_locals["selected_{}".format(opt)])
                    for opt in self.options}
        self.busy_indicator = self.build_frame(defaults, refresh_callback, patch_callback)
 </s> add         defaults = {opt: self._format_to_display(d_locals["selected_{}".format(opt)])
                    for opt in self._options}
        self._busy_indicator = self._build_frame(defaults,
                                                 refresh_callback,
                                                 patch_callback,
                                                 available_masks,
                                                 has_predicted_mask) </s> remove     def format_to_display(var):
        """ Format a variable from display version """
 </s> add     def _format_to_display(var):
        """ Format a variable from the command line action version to the display version.
        Parameters
        ----------
        var: str
            The variable name to format

        Returns
        -------
        str
            The formatted variable name
        """ </s> remove         """ Return dict of sections with sorted list of containing plugins """
        return {section: sorted([plugin.split(".")[1] for plugin in self.config.config.sections()
 </s> add         """ dict: Dictionary of configuration option sections as key with a list of containing
        plugins as the value """
        return {section: sorted([plugin.split(".")[1] for plugin in self._config.config.sections()
                self._format_from_display(self._tk_vars[opt].get())
                for opt in self._options}
      @property
      def convert_args(self):
          """ Return a dict of cli arguments for converter based on selected options """
          return {opt if opt != "color" else "color_adjustment":
                self._format_from_display(self._tk_vars[opt].get())
                for opt in self._options}
                self._format_from_display(self._tk_vars[opt].get())
                for opt in self._options}
  
      @staticmethod
      def format_from_display(var):
          """ Format a variable from display version """
          return var.replace(" ", "_").lower()
keep keep keep keep replace 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