mirror of
https://github.com/huggingface/text-generation-inference.git
synced 2025-09-10 11:54:52 +00:00
ask the hub
This commit is contained in:
parent
9579bf165a
commit
1cddcbbc26
@ -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")
|
||||
|
Loading…
Reference in New Issue
Block a user