      def __init__(self) -> None:
          self._backends = {"1": "amd", "2": "cpu", "3": "nvidia", "4": "apple_silicon"}
          self._config_file = self._get_config_file()
          self.backend = self._get_backend()
  
      @classmethod
      def _get_config_file(cls) -> str:
 
</s> remove     def __init__(self):
 </s> add     def __init__(self) -> None: </s> remove     def _get_config_file(cls):
 </s> add     def _get_config_file(cls) -> str: </s> remove def set_backend(backend):
 </s> add def set_backend(backend: str) -> None: </s> remove     def _model_full_name(self):
 </s> add     def _model_full_name(self) -> str: </s> remove     _FS_BACKEND = backend.lower()
 </s> add     backend = cast(ValidBackends, backend.lower())
    _FS_BACKEND = backend
        self._valid_backends = list(self._backends.values())
      def __init__(self) -> None:
          self._backends = {"1": "amd", "2": "cpu", "3": "nvidia", "4": "apple_silicon"}
        self._valid_backends = list(self._backends.values())
          self._config_file = self._get_config_file()
          self.backend = self._get_backend()
  
      @classmethod
      def _get_config_file(cls) -> str:
keep add keep keep keep keep keep
 lib.Utils - add DPI detector 
lib/utils.py