  from lib.gui.tooltip import Tooltip
  from lib.gui.control_helper import set_slider_rounding
  from lib.convert import Converter
  from lib.faces_detect import DetectedFace
  from lib.model.masks import get_available_masks
  from lib.multithreading import MultiThread
  from lib.utils import FaceswapError, set_system_verbosity
  from lib.queue_manager import queue_manager
  from scripts.fsmedia import Alignments, Images
  from scripts.convert import Predict
 
</s> remove import tensorflow as tf
from tensorflow.python import errors_impl as tf_errors  # pylint:disable=no-name-in-module

 </s> add  </s> remove from lib.model.masks import get_available_masks, get_default_mask
 </s> add  </s> remove from lib.model import masks
 </s> add  </s> remove from lib.model.masks import get_available_masks
 </s> add 
  from lib.gui.tooltip import Tooltip
  from lib.gui.control_helper import set_slider_rounding
  from lib.convert import Converter
  from lib.faces_detect import DetectedFace

  from lib.multithreading import MultiThread
  from lib.utils import FaceswapError, set_system_verbosity
  from lib.queue_manager import queue_manager
  from scripts.fsmedia import Alignments, Images
  from scripts.convert import Predict
keep keep keep keep replace keep keep keep keep keep
 Smart Mask Exposure for Extraction & Training (#831)

Smart Masks - Initial Commit 
tools/preview.py