ask the hub

This commit is contained in:
OlivierDehaene 2023-02-27 18:19:29 +01:00
parent 9579bf165a
commit 1cddcbbc26

View File

@ -99,7 +99,7 @@ fn main() -> Result<(), std::io::Error> {
// Get pipeline tag
let model_info = reqwest::get(format!(
"https://api-inference.huggingface.co/models/{tokenizer_name}"
"https://huggingface.co/api/models/{tokenizer_name}"
))
.await
.expect("Could not connect to hf.co")