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

Handle repository redirects and skip authorization header for LFS #314

Merged
merged 1 commit into from
Dec 18, 2023

Conversation

jonatanklosko
Copy link
Member

Closes #313. Also fixes an issue where loading model with auth token fails specifically within HF spaces, where the URL redirects are different and lead directly to an S3 endpoint.

@jonatanklosko jonatanklosko merged commit 6a139fa into main Dec 18, 2023
2 checks passed
@jonatanklosko jonatanklosko deleted the jk-hub-requests branch December 18, 2023 10:50
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.

Improve the error message when Hugging Face resource isn't found a the referenced location.
1 participant