                      self.tk_vars[config_section][item].set(val)
                      logger.debug("Setting %s - %s to saved value %s", config_section, item, val)
          logger.debug("Reset to saved config: %s", section)
  
      def reset_config_default(self, section=None):
          """ Reset config to default values """
          logger.debug("Resetting to default: %s", section)
          sections = [section] if section is not None else list(self.tk_vars.keys())
          for config_section in sections:
              for item, options in self.config.defaults[config_section].items():
                  if item == "helptext":
 
</s> remove             for item, options in self.config_dicts[config_section].items():
 </s> add             for item, options in self._config_dicts[config_section].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(): </s> remove                 val = options["value"]
 </s> add                 val = options.value </s> remove                 default = options["default"]
 </s> add                 default = options.default </s> remove     def reset_config_saved(self, section=None):
        """ Reset config to saved values """
 </s> add     def reset_config_to_saved(self, section=None):
        """ Reset the GUI parameters to their saved values within the configuration file.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """
    def reset_config_to_default(self, section=None):
        """ Reset the GUI parameters to their default configuration values.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """
                      self.tk_vars[config_section][item].set(val)
                      logger.debug("Setting %s - %s to saved value %s", config_section, item, val)
          logger.debug("Reset to saved config: %s", section)
  
    def reset_config_to_default(self, section=None):
        """ Reset the GUI parameters to their default configuration values.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """
    def reset_config_to_default(self, section=None):
        """ Reset the GUI parameters to their default configuration values.

        Parameters
        ----------
        section: str, optional
            The configuration section to reset the values for, If ``None`` provided then all
            sections are reset. Default: ``None``
        """
          logger.debug("Resetting to default: %s", section)
          sections = [section] if section is not None else list(self.tk_vars.keys())
          for config_section in sections:
              for item, options in self.config.defaults[config_section].items():
                  if item == "helptext":
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