Transmuter.HubError exception (transmuter v2.0.0)

Copy Markdown View Source

Raised when the Hugging Face Hub gives an error status for a repository or one of its files, such as 401 for a gated repository without a token, or 404 for a repository that does not exist.

Fields

  • :repo - the repository
  • :status - the HTTP status
  • :details - the file, or the body of the response of the Hub API