File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -79,14 +79,14 @@ jobs:
79
79
80
80
# Check secret is set
81
81
- name : whoami
82
- run : huggingface-cli whoami
82
+ run : hf auth whoami
83
83
env :
84
84
HF_TOKEN : ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
85
85
86
86
# Push to HF! (under subfolder based on checkout ref)
87
87
# https://huggingface.co/datasets/diffusers/community-pipelines-mirror
88
88
- name : Mirror community pipeline to HF
89
- run : huggingface-cli upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
89
+ run : hf upload diffusers/community-pipelines-mirror ./examples/community ${PATH_IN_REPO} --repo-type dataset
90
90
env :
91
91
PATH_IN_REPO : ${{ env.PATH_IN_REPO }}
92
92
HF_TOKEN : ${{ secrets.HF_TOKEN_MIRROR_COMMUNITY_PIPELINES }}
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def register_subcommand(parser: ArgumentParser):
59
59
conversion_parser .add_argument (
60
60
"--use_auth_token" ,
61
61
action = "store_true" ,
62
- help = "When working with checkpoints having private visibility. When used `huggingface-cli login` needs to be run beforehand." ,
62
+ help = "When working with checkpoints having private visibility. When used `hf auth login` needs to be run beforehand." ,
63
63
)
64
64
conversion_parser .set_defaults (func = conversion_command_factory )
65
65
You can’t perform that action at this time.
0 commit comments