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 private flag #21

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

add private flag #21

wants to merge 2 commits into from

Conversation

youcefs21
Copy link

@youcefs21 youcefs21 commented Jun 2, 2024

I realized the solution to my problem #20 is pretty simple, so I decided to implement it myself!

This pull request adds a cli flag to allow for private repos.

@svlandeg svlandeg linked an issue Jun 3, 2024 that may be closed by this pull request
@youcefs21
Copy link
Author

youcefs21 commented Jun 4, 2024

only problem is that there isn't really a good way to install it... huggingface doesn't support basic auth and the only auth method pip supports is basic auth. Only solution I can think of is using a proxy that you connect to with basic auth, which gets the file using a Bearer token which huggingface supports. Not sure if this is worth mentioning in the README or not

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.

uploading a private model
1 participant