Skip to content

Conversation

@Narsil
Copy link
Contributor

@Narsil Narsil commented Dec 30, 2024

No description provided.

@Narsil Narsil merged commit 57c58af into main Dec 30, 2024
3 checks passed
@Narsil Narsil deleted the fix_env branch December 30, 2024 14:09
Comment on lines +216 to +218
let mut path = dirs::home_dir().expect("Cache directory cannot be found");
path.push(".cache");
path.push("huggingface");

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello! I'd like to ask why an implementation for creating a Cache instance without using environment variables is provided here, and why it is set as the default behavior? Generally speaking, shouldn't it be the default to read environment variables?🤔

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants