              logger.error("The minimum supported Tensorflow is version %s but you have version "
                           "%s installed. Please upgrade Tensorflow.", min_ver, tf_ver)
              exit(1)
          if tf_ver > max_ver:
              logger.error("The maximumum supported Tensorflow is version %s but you have version "
                           "%s installed. Please downgrade Tensorflow.", max_ver, tf_ver)
              exit(1)
          logger.debug("Installed Tensorflow Version: %s", tf_ver)
  
      def test_for_gui(self):
          """ If running the gui, check the prerequisites """
          if self.command != "gui":
 
</s> remove             logger.error("The minimum supported Tensorflow is version %s but you have version "
                         "%s installed. Please upgrade Tensorflow.", min_ver, tf_ver)
            exit(1)
 </s> add             raise FaceswapError("The minimum supported Tensorflow is version {} but you have "
                                "version {} installed. Please upgrade Tensorflow.".format(
                                    min_ver, tf_ver)) </s> remove             logger.error("Tensorflow is a requirement but is not installed on your system.")
            exit(1)
 </s> add             raise FaceswapError("Tensorflow is a requirement but is not installed on your system.") </s> remove             logger.warning("No display detected. GUI mode has been disabled.")
 </s> add  </s> remove             exit(1)
 </s> add             raise FaceswapError("TkInter not found") </s> remove             exit(1)
 </s> add             raise FaceswapError("No display detected. GUI mode has been disabled.")
            raise FaceswapError("The maximumum supported Tensorflow is version {} but you have "
                                "version {} installed. Please downgrade Tensorflow.".format(
                                    max_ver, tf_ver))
              logger.error("The minimum supported Tensorflow is version %s but you have version "
                           "%s installed. Please upgrade Tensorflow.", min_ver, tf_ver)
              exit(1)
          if tf_ver > max_ver:
            raise FaceswapError("The maximumum supported Tensorflow is version {} but you have "
                                "version {} installed. Please downgrade Tensorflow.".format(
                                    max_ver, tf_ver))
            raise FaceswapError("The maximumum supported Tensorflow is version {} but you have "
                                "version {} installed. Please downgrade Tensorflow.".format(
                                    max_ver, tf_ver))
            raise FaceswapError("The maximumum supported Tensorflow is version {} but you have "
                                "version {} installed. Please downgrade Tensorflow.".format(
                                    max_ver, tf_ver))
          logger.debug("Installed Tensorflow Version: %s", tf_ver)
  
      def test_for_gui(self):
          """ If running the gui, check the prerequisites """
          if self.command != "gui":
keep keep keep keep replace replace replace keep keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/cli.py