          if isinstance(self.model_path, list):
              retval = all(os.path.exists(pth) for pth in self.model_path)
          else:
              retval = os.path.exists(self.model_path)
          self.logger.trace(retval)
          return retval
  
      @property
      def _url_download(self):
          """ strL Base download URL for models. """
 
</s> remove     def _model_exists(self):
 </s> add     def _model_exists(self) -> bool: </s> remove     def _url_download(self):
 </s> add     def _url_download(self) -> str: </s> remove         self.logger.trace("Download url: %s", retval)
 </s> add         self.logger.trace("Download url: %s", retval)  # type: ignore </s> remove     def model_path(self):
        """ str: The model path(s) in the cache folder. """
        retval = [os.path.join(self._cache_dir, fname) for fname in self._model_filename]
        retval = retval[0] if len(retval) == 1 else retval
        self.logger.trace(retval)
 </s> add     def model_path(self) -> Union[str, List[str]]:
        """ str or list: The model path(s) in the cache folder. """
        paths = [os.path.join(self._cache_dir, fname) for fname in self._model_filename]
        retval: Union[str, List[str]] = paths[0] if len(paths) == 1 else paths
        self.logger.trace(retval)  # type: ignore </s> remove     def _get(self):
 </s> add     def _get(self) -> None:
        self.logger.trace(retval)  # type: ignore
          if isinstance(self.model_path, list):
              retval = all(os.path.exists(pth) for pth in self.model_path)
          else:
              retval = os.path.exists(self.model_path)
        self.logger.trace(retval)  # type: ignore
          return retval
  
      @property
      def _url_download(self):
          """ strL Base download URL for models. """
keep keep keep keep replace keep keep keep keep keep
 lib.Utils - add DPI detector 
lib/utils.py