-
Notifications
You must be signed in to change notification settings - Fork 372
Add cli for @huggingface/hub #1412
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
Co-authored-by: Julien Chaumond <[email protected]>
That way I can run `pnpm link`: https://pnpm.io/cli/link to test #1412
The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update. |
btw @Wauplin @hanouticelina do you have advice regarding the cli params? This PR adds
Note that we could be fancy and do like git Edit: is the hub url configurable or not with the python cli? (thinking of adding |
cc @Wauplin @hanouticelina for viz
Internal context: https://huggingface.slack.com/archives/C0256NXF0A2/p1745930278721439?thread_ts=1741697907.530409&cid=C0256NXF0A2
Also add
createBranch
anddeleteBranch
functionsFollow up to #1398
eg:
Testing
go into
packages/hub
run
pnpm install
and run
sudo npm link
- then you can usehfjs
or just do
node dist/cli.js upload ...