          self.pack(side=tk.RIGHT, anchor=tk.N, fill=tk.BOTH, expand=True)
          self.config_tools = config_tools
          self.scaling = scaling
  
          self.tabs = dict()
          self.build_tabs()
          self.build_sub_tabs()
          self.add_patch_callback(patch_callback)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build_tabs(self):
          """ Build the tabs for the relevant section """
          logger.debug("Build Tabs")
 
</s> remove         self.scaling = scaling
 </s> add         self._scaling = scaling </s> remove     def build_tabs(self):
        """ Build the tabs for the relevant section """
 </s> add     def _build_tabs(self):
        """ Build the notebook tabs for the each configuration section. """ </s> remove             self.tabs[section] = {"tab": tab}
 </s> add             self._tabs[section] = {"tab": tab} </s> remove     def build_sub_tabs(self):
        """ Build the sub tabs for the relevant plugin """
 </s> add     def _build_sub_tabs(self):
        """ Build the notebook sub tabs for each convert section's plugin. """ </s> remove         top_frame = ttk.Frame(self)
        top_frame.pack(side=tk.TOP, fill=tk.BOTH, anchor=tk.N, expand=True)
 </s> add 
        self._tabs = dict()
        self._build_tabs()
        self._build_sub_tabs()
        self._add_patch_callback(patch_callback)
          self.pack(side=tk.RIGHT, anchor=tk.N, fill=tk.BOTH, expand=True)
          self.config_tools = config_tools
          self.scaling = scaling
  
        self._tabs = dict()
        self._build_tabs()
        self._build_sub_tabs()
        self._add_patch_callback(patch_callback)
        self._tabs = dict()
        self._build_tabs()
        self._build_sub_tabs()
        self._add_patch_callback(patch_callback)
        self._tabs = dict()
        self._build_tabs()
        self._build_sub_tabs()
        self._add_patch_callback(patch_callback)
        self._tabs = dict()
        self._build_tabs()
        self._build_sub_tabs()
        self._add_patch_callback(patch_callback)
          logger.debug("Initialized %s", self.__class__.__name__)
  
      def build_tabs(self):
          """ Build the tabs for the relevant section """
          logger.debug("Build Tabs")
keep keep keep keep replace replace 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