          if current_process().name == "MainProcess":
              print(f"Setting Faceswap backend to {fs_backend.upper()}")
          return fs_backend.lower()
  
      def _configure_backend(self):
          """ Get user input to select the backend that Faceswap should use.
  
          Returns
          -------
          str
 
</s> remove         return fs_backend.lower()
 </s> add         return fs_backend </s> remove def get_backend():
 </s> add def get_backend() -> ValidBackends: </s> remove         fs_backend = config.get("backend", None)
        if fs_backend is None or fs_backend.lower() not in self._backends.values():
 </s> add         fs_backend = config.get("backend", "").lower()
        if not fs_backend or fs_backend not in self._backends.values(): </s> remove _FS_BACKEND = _Backend().backend
 </s> add _FS_BACKEND: ValidBackends = _Backend().backend </s> remove             fs_backend = os.environ["FACESWAP_BACKEND"].lower()
 </s> add             fs_backend = cast(ValidBackends, os.environ["FACESWAP_BACKEND"].lower())
            assert fs_backend in get_args(ValidBackends), (
                f"Faceswap backend must be one of {get_args(ValidBackends)}")
    def _configure_backend(self) -> ValidBackends:
          if current_process().name == "MainProcess":
              print(f"Setting Faceswap backend to {fs_backend.upper()}")
          return fs_backend.lower()
  
    def _configure_backend(self) -> ValidBackends:
          """ Get user input to select the backend that Faceswap should use.
  
          Returns
          -------
          str
keep keep keep keep replace keep keep keep keep keep
 lib.Utils - add DPI detector 
lib/utils.py