-
Notifications
You must be signed in to change notification settings - Fork 156
Use swift-huggingface to interact with Hub API #297
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
base: main
Are you sure you want to change the base?
Conversation
|
Hey @mattt It looks like there's still a local path in .package(path: "../swift-huggingface") |
pcuenca
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good so far! Haven't had a chance to test it yet.
Do you think we should write a transition guide of some sort? Happy to help with that.
| dependencies: [ | ||
| .package(url: "https://github.com/huggingface/swift-jinja.git", from: "2.0.0") | ||
| .package(url: "https://github.com/huggingface/swift-jinja.git", from: "2.0.0"), | ||
| .package(path: "../swift-huggingface"), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| .package(path: "../swift-huggingface"), | |
| .package(url: "https://github.com/huggingface/swift-huggingface", from: "0.4.1"), |
As @ronaldmannak mentioned
This PR updates
HubApito useHubClientfrom the swift-huggingface package.