          FaceswapError
              If tkinter cannot be imported
          """
          try:
              # pylint: disable=unused-variable
              import tkinter  # noqa pylint: disable=unused-import,import-outside-toplevel
          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:")
 
</s> remove # Revisions of tensorflow GPU and cuda/cudnn requirements
TENSORFLOW_REQUIREMENTS = {">=2.2.0,<2.4.0": ["10.1", "7.6"]}
 </s> add # Revisions of tensorflow GPU and cuda/cudnn requirements. These relate specifically to the
# Tensorflow builds available from pypi
TENSORFLOW_REQUIREMENTS = {">=2.2.0,<2.4.0": ["10.1", "7.6"],
                           ">=2.4.0,<2.5.0": ["11.0", "8.0"],
                           ">=2.5.0,<2.7.0": ["11.2", "8.1"]} </s> remove         self._output_dir = None if self._args.skip_saving_faces else str(get_folder(
            self._args.output_dir))
 </s> add         self._output_dir = None if self._args.skip_saving_faces else get_folder(
            self._args.output_dir) </s> remove                     cuda_cudnn = val
 </s> add                     cuda, cudnn = val </s> remove                 if self.conda_installer(pkg, verbose=verbose, channel=channel, conda_only=False):
 </s> add                 if self.conda_installer(pkg,
                                        verbose=verbose, channel=channel, conda_only=conda_only):
          FaceswapError
              If tkinter cannot be imported
          """
          try:

              import tkinter  # noqa pylint: disable=unused-import,import-outside-toplevel
          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:")
keep keep keep keep replace keep keep keep keep keep
 Tensorflow 2.6 Support (#1182)

* lib.cli.launcher - Bump max tf version to 2.6

* Remove pathlib requirement

* Update requirements files

* Update setup.py

* bugfix - GUI: Supress errors when attempting to load previews in extract

* GUI: Suppress ptxas error messages for Windows 
lib/cli/launcher.py