Skip to content

Commit 8a2ab36

Browse files
committed
fix: add ~/.local/bin to PATH for huggingface-cli
1 parent 684568f commit 8a2ab36

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

.github/workflows/sync-to-huggingface.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,6 @@ jobs:
3030
HF_TOKEN: ${{ secrets.HF_TOKEN }}
3131
run: |
3232
pip install -U huggingface_hub hf_xet
33-
python -m huggingface_hub.cli upload dmpantiu/Eurus . . --repo-type space --token $HF_TOKEN
33+
export PATH="$HOME/.local/bin:$PATH"
34+
huggingface-cli upload dmpantiu/Eurus . . --repo-type space --token $HF_TOKEN
3435

0 commit comments

Comments
 (0)