Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support the same environment variables as python huggingface_hub ? #936

Open
abcfy2 opened this issue Sep 18, 2024 · 0 comments
Open

Support the same environment variables as python huggingface_hub ? #936

abcfy2 opened this issue Sep 18, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@abcfy2
Copy link

abcfy2 commented Sep 18, 2024

Feature request

Would you please support the same as python huggingface_hub environment variables like HF_ENDPOINT ?

Full environment variables link: https://huggingface.co/docs/huggingface_hub/v0.15.1/en/package_reference/environment_variables

Motivation

Sometimes we use another library which based on xenova/transformers.js, like llamaindex. We can't modify the env from xenova/transformers.js directly. So we can use environment variables to override some default configs.

Your contribution

@abcfy2 abcfy2 added the enhancement New feature or request label Sep 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant