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

Add ability to prevent config.json being written to ~/Documents/huggingface/... #262

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

iandundas
Copy link
Contributor

This PR makes it possible to prevent this file being written during WhisperKit.fetchModelSupportConfig(), by allowing a downloadBase: URL? parameter to be passed. So it downloads to there instead.

… URL?` param

Which controls where HubAPI leaves the config.json that it downloads.
Copy link
Contributor

@a2they a2they left a comment

Choose a reason for hiding this comment

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

Nice! It would be nice to pass downloadBase fromrecommendedRemoteModels as well.

Copy link
Contributor

@ZachNagengast ZachNagengast left a comment

Choose a reason for hiding this comment

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

Looks great to me 👍

@ZachNagengast ZachNagengast added the enhancement Improves existing code label Nov 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Improves existing code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants