Expand description
Request and response
Hugging Face has open endpoints that you can use to retrieve information from the Hub as well as perform certain actions such as creating model, dataset or Space repos.
Structs§
- Create
Repo Req - Request of
crate::client::Client::create_repo - Create
Repo Res - Response of
crate::client::Client::create_repo - Delete
Repo Req - Request of
crate::client::Client::delete_repo - Failure
Res - Error response format of Hugging Face Hub API
- GetModel
Req - Request of
crate::client::Client::get_model - GetModels
Req - Request of
crate::client::Client::get_models
Enums§
- Hugging
Face Res - Global response format of Hugging Face Hub API
Type Aliases§
- GetModel
Res - Response of
crate::client::Client::get_model - GetModels
Res - Response of
crate::client::Client::get_models