pub async fn check_hf_access(
__arg0: Query<HfAccessParams>,
) -> Result<impl IntoResponse, StatusCode>Expand description
GET /models/hf/access?repo_id=…&filename=…&hf_token=…
Performs a HEAD request against the HuggingFace CDN to determine whether the supplied token grants download access to a gated repository.