          else:
              filelist = self.images.input_images
  
          retval = [filename for filename in filelist
                    if self.alignments.frame_has_faces(os.path.basename(filename))]
          logger.debug("Filtered out frames: %s", self.images.images_found - len(retval))
          try:
              assert retval
          except AssertionError as err:
              msg = ("No faces were found in any of the frames passed in. Make sure you are passing "
                     "in a frames source rather than extracted faces, and that you have provided "
 
</s> remove             filelist = self.images.input_images
 </s> add             filelist = self._images.input_images </s> remove                         for frame_no in range(1, self.images.images_found + 1)]
 </s> add                         for frame_no in range(1, self._images.images_found + 1)] </s> remove         if self.images.is_video:
            filelist = ["{}_{:06d}.png".format(os.path.splitext(self.images.input_images)[0],
 </s> add         if self._images.is_video:
            filelist = ["{}_{:06d}.png".format(os.path.splitext(self._images.input_images)[0], </s> remove             Utils.finalize(self.images.images_found,
                           self.predictor.faces_count,
                           self.predictor.verify_output)
 </s> add             finalize(self._images.images_found,
                     self._predictor.faces_count,
                     self._predictor.verify_output) </s> remove     def get_filelist(self):
        """ Return a list of files, filtering out those frames which do not contain faces """
 </s> add     def _get_filelist(self):
        """ Get a list of files for the input, filtering out those frames which do
        not contain faces.

        Returns
        -------
        list
            A list of filenames of frames that contain faces.
        """
                  if self._alignments.frame_has_faces(os.path.basename(filename))]
        logger.debug("Filtered out frames: %s", self._images.images_found - len(retval))
          else:
              filelist = self.images.input_images
  
          retval = [filename for filename in filelist
                  if self._alignments.frame_has_faces(os.path.basename(filename))]
        logger.debug("Filtered out frames: %s", self._images.images_found - len(retval))
                  if self._alignments.frame_has_faces(os.path.basename(filename))]
        logger.debug("Filtered out frames: %s", self._images.images_found - len(retval))
          try:
              assert retval
          except AssertionError as err:
              msg = ("No faces were found in any of the frames passed in. Make sure you are passing "
                     "in a frames source rather than extracted faces, and that you have provided "
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