pypi huggingface-hub 0.19.1
v0.19.1 - Hot-fix: ignore TypeError when listing models with corrupted ModelCard

latest releases: 0.24.2, 0.24.1, 0.24.0...
8 months ago

Full Changelog: v0.19.0...v0.19.1.

Fixes a regression bug (PR #1821) introduced in 0.19.0 that made looping over models with list_models fail. The problem came from the fact that we are now parsing the data returned by the server into Python objects. However for some models the metadata in the model card is not valid. This is usually checked by the server but some models created before we started to enforce correct metadata are not valid. This hot-fix fixes the issue by ignoring the corrupted data, if any.

Don't miss a new huggingface-hub release

NewReleases is sending notifications on new releases.