              logger.info("Ubuntu/Mint/Debian: sudo apt install python3-tk")
              logger.info("Arch: sudo pacman -S tk")
              logger.info("CentOS/Redhat: sudo yum install tkinter")
              logger.info("Fedora: sudo dnf install python3-tkinter")
              exit(1)
  
      @staticmethod
      def check_display():
          """ Check whether there is a display to output the GUI. If running on
              Windows then assume not running in headless mode """
 
</s> remove             logger.warning("No display detected. GUI mode has been disabled.")
 </s> add  </s> remove             exit(1)
 </s> add             raise FaceswapError("No display detected. GUI mode has been disabled.") </s> remove             logger.error("The maximumum supported Tensorflow is version %s but you have version "
                         "%s installed. Please downgrade Tensorflow.", max_ver, tf_ver)
            exit(1)
 </s> add             raise FaceswapError("The maximumum supported Tensorflow is version {} but you have "
                                "version {} installed. Please downgrade Tensorflow.".format(
                                    max_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.")
            raise FaceswapError("TkInter not found")
              logger.info("Ubuntu/Mint/Debian: sudo apt install python3-tk")
              logger.info("Arch: sudo pacman -S tk")
              logger.info("CentOS/Redhat: sudo yum install tkinter")
              logger.info("Fedora: sudo dnf install python3-tkinter")
            raise FaceswapError("TkInter not found")
  
      @staticmethod
      def check_display():
          """ Check whether there is a display to output the GUI. If running on
              Windows then assume not running in headless mode """
keep keep keep keep replace keep keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/cli.py