          try:
              # pylint: disable=unused-variable
              import tkinter  # noqa pylint: disable=unused-import
          except ImportError:
              logger.warning(
                  "It looks like TkInter isn't installed for your OS, so "
                  "the GUI has been disabled. To enable the GUI please "
                  "install the TkInter application. You can try:")
              logger.info("Anaconda: conda install tk")
              logger.info("Windows/macOS: Install ActiveTcl Community Edition from "
 
</s> remove             exit(1)
 </s> add             raise FaceswapError("No display detected. GUI mode has been disabled.") </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     except Exception as err:  # pylint: disable=broad-except
 </s> add     except Exception as err:  # pylint:disable=broad-except
            logger.error(
          try:
              # pylint: disable=unused-variable
              import tkinter  # noqa pylint: disable=unused-import
          except ImportError:
            logger.error(
                  "It looks like TkInter isn't installed for your OS, so "
                  "the GUI has been disabled. To enable the GUI please "
                  "install the TkInter application. You can try:")
              logger.info("Anaconda: conda install tk")
              logger.info("Windows/macOS: Install ActiveTcl Community Edition from "
keep keep keep keep replace keep keep keep keep keep
 FaceswapError Exception. Added to cli and utils 
lib/cli.py