Hello, I have noticed that HF_HOME and HF_ENDPOINT environment variables are not supported.
I presume this is because this library uses ApiBuilder::new, not ApiBuilder::from_env for hf_hub::api::sync::ApiBuilder.
Would it be possible to update all constructors from ApiBuilder::new into ApiBuilder::from_env?
- I noticed this library uses
hf-hub crate version 0.4.2
- This version supports loading
HF_HOME and HF_ENDPOINT through ApiBuilder::from_env.
- A developer commented in this issue that this is an opt-in.
Hello, I have noticed that
HF_HOMEandHF_ENDPOINTenvironment variables are not supported.I presume this is because this library uses
ApiBuilder::new, notApiBuilder::from_envforhf_hub::api::sync::ApiBuilder.Would it be possible to update all constructors from
ApiBuilder::newintoApiBuilder::from_env?hf-hubcrate version 0.4.2HF_HOMEandHF_ENDPOINTthroughApiBuilder::from_env.