                                   if plugin.split(".")[0] == section])
                  for section in self.sections}
  
      def update_config(self):
          """ Update config with selected values """
          for section, items in self.tk_vars.items():
              for item, value in items.items():
                  try:
                      new_value = str(value.get())
                  except tk.TclError as err:
 
</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() </s> remove                     self.config.config[section][item] = new_value

    def get_config_dicts(self):
        """ Hold a custom config dict for the config """
 </s> add                     self._config.config[section][item] = new_value

    def _get_config_dicts(self):
        """ Obtain a custom configuration dictionary for convert configuration items in use
        by the preview tool formatted for control helper.

        Returns
        -------
        dict
            Each configuration section as keys, with the values as a dict of option:
            :class:`lib.gui.control_helper.ControlOption` pairs. """
        logger.debug("Formatting Config for GUI") </s> remove                     # raise an error on numeric datatypes so return 0
 </s> add                     # raise an error on numeric data types so return 0 </s> remove         for config_section, items in self.config_dicts.items():
 </s> add         for config_section, items in self._config_dicts.items(): </s> remove             for item, options in self.config.defaults[config_section].items():
 </s> add             for item, options in self._config_dicts[config_section].items():
        """ Update :attr:`config` with the currently selected values from the GUI. """
                                   if plugin.split(".")[0] == section])
                  for section in self.sections}
  
      def update_config(self):
        """ Update :attr:`config` with the currently selected values from the GUI. """
          for section, items in self.tk_vars.items():
              for item, value in items.items():
                  try:
                      new_value = str(value.get())
                  except tk.TclError as err:
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