      ".bmp", ".jpeg", ".jpg", ".png", ".tif", ".tiff"]
  _video_extensions = [  # pylint:disable=invalid-name
      ".avi", ".flv", ".mkv", ".mov", ".mp4", ".mpeg", ".mpg", ".webm", ".wmv",
      ".ts", ".vob"]
  _TF_VERS: Optional[float] = None
  ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon"]
  
  
  class _Backend():  # pylint:disable=too-few-public-methods
      """ Return the backend from config/.faceswap of from the `FACESWAP_BACKEND` Environment
 
</s> remove def get_tf_version() -> float:
 </s> add def get_tf_version() -> Tuple[int, int]: </s> remove         _TF_VERS = float(".".join(tf.__version__.split(".")[:2]))  # pylint:disable=no-member
 </s> add         split = tf.__version__.split(".")[:2]
        _TF_VERS = (int(split[0]), int(split[1])) </s> remove         amd_ver = 2.2
        min_ver = 2.7
        max_ver = 2.9
 </s> add         amd_ver = (2, 2)
        min_ver = (2, 7)
        max_ver = (2, 9) </s> remove from typing import cast, Dict, List, Optional, Union, TYPE_CHECKING
 </s> add from typing import cast, Dict, List, Optional, Union, Tuple, TYPE_CHECKING </s> remove         if get_tf_version() > 2.7:
 </s> add         if get_tf_version() > (2, 7):
_TF_VERS: Optional[Tuple[int, int]] = None
      ".bmp", ".jpeg", ".jpg", ".png", ".tif", ".tiff"]
  _video_extensions = [  # pylint:disable=invalid-name
      ".avi", ".flv", ".mkv", ".mov", ".mp4", ".mpeg", ".mpg", ".webm", ".wmv",
      ".ts", ".vob"]
_TF_VERS: Optional[Tuple[int, int]] = None
  ValidBackends = Literal["amd", "nvidia", "cpu", "apple_silicon"]
  
  
  class _Backend():  # pylint:disable=too-few-public-methods
      """ Return the backend from config/.faceswap of from the `FACESWAP_BACKEND` Environment
keep keep keep keep replace keep keep keep keep keep
 Bugfix - TF Version check 
lib/utils.py