Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use primary API for huggingface_hub errors (#786)
* Remove duplicate import * Use the non-private API for hf_hub errors We were loading from a private module and it looks like the API changed in 0.25 (see Azure errors). This moves to using the public `errors` module, which should be less likely to break without warning.
- Loading branch information