          """ Check that the minimum required Tensorflow version is installed """
          min_ver = 1.12
          max_ver = 1.15
          try:
              # Ensure tensorflow doesn't pin all threads to one core when using tf-mkl
              os.environ["KMP_AFFINITY"] = "disabled"
              import tensorflow as tf
          except ImportError as err:
              raise FaceswapError("There was an error importing Tensorflow. This is most likely "
                                  "because you do not have TensorFlow installed, or you are trying "
 
</s> remove             import tensorflow as tf
 </s> add             import tensorflow as tf  # pylint:disable=import-outside-toplevel </s> remove         tf_ver = float(".".join(tf.__version__.split(".")[:2]))
 </s> add         tf_ver = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member </s> remove             import tkinter  # noqa pylint: disable=unused-import
 </s> add             import tkinter  # noqa pylint: disable=unused-import,import-outside-toplevel </s> remove     pass
 </s> add     pass  # pylint: disable=unnecessary-pass </s> remove     pass
 </s> add     pass  # pylint: disable=unnecessary-pass
            # Ensure tensorflow doesn't pin all threads to one core when using Math Kernel Library
          """ Check that the minimum required Tensorflow version is installed """
          min_ver = 1.12
          max_ver = 1.15
          try:
            # Ensure tensorflow doesn't pin all threads to one core when using Math Kernel Library
              os.environ["KMP_AFFINITY"] = "disabled"
              import tensorflow as tf
          except ImportError as err:
              raise FaceswapError("There was an error importing Tensorflow. This is most likely "
                                  "because you do not have TensorFlow installed, or you are trying "
keep keep keep keep replace keep keep keep keep keep
 Extraction - Auto generate Components and Extended Masks 
lib/cli.py