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

Allow setting a downloadBase so downloaded models are not forced into the user's Documents folder #34

Merged
merged 2 commits into from
Feb 21, 2024

Conversation

jordibruin
Copy link
Contributor

No description provided.

@@ -177,7 +177,7 @@ public class WhisperKit {

// If a local model folder is provided, use it; otherwise, download the model
if let folder = modelFolder {
self.modelFolder = URL(fileURLWithPath: folder)
self.modelFolder = URL(fileURLWithPath: folder)
Copy link
Contributor

Choose a reason for hiding this comment

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

Please remove the trailing whitespace :)

Copy link
Contributor

@atiorh atiorh left a comment

Choose a reason for hiding this comment

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

Makes sense!

Sources/WhisperKit/Core/WhisperKit.swift Outdated Show resolved Hide resolved
@ZachNagengast ZachNagengast merged commit 8d581f4 into argmaxinc:main Feb 21, 2024
1 check passed
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.

3 participants