fix: install hf cli before upload

This commit is contained in:
drbh 2024-05-28 18:04:23 +00:00
parent dab44ac1af
commit 1bf32d970f
1 changed files with 4 additions and 0 deletions

View File

@ -178,6 +178,10 @@ jobs:
run: | run: |
ls dist ls dist
- name: Install Hugging Face CLI
run: |
pip install huggingface_hub
- name: Upload to Hugging Face Hub - name: Upload to Hugging Face Hub
run: | run: |
export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_PRECOMPILE_TOKEN }} export HUGGING_FACE_HUB_TOKEN=${{ secrets.HUGGING_FACE_HUB_PRECOMPILE_TOKEN }}