hf-hub
hf-hub copied to clipboard
Connection Timeout
In my Windows OS, when I run the example:
use hf_hub::api::sync::Api;
fn main() {
let api = Api::new().unwrap();
let repo = api.model("bert-base-uncased".to_string());
let _filename = repo.get("config.json").unwrap();
}
- It always raise
Connect Timeout
exception. I tried to use proxy, but it didn't work too. - If using Python
huggingface_hub
package, the exception didn't happen.