Skip to content

Commit 128e23c

Browse files
committed
Fixed the huggingface_hub command error
1 parent 14d6d9a commit 128e23c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

.github/workflows/test.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ jobs:
5454
if: steps.model-cache.outputs.cache-hit != 'true'
5555
run: |
5656
pip install huggingface-hub
57-
huggingface-cli download ${{ env.REPO_ID }} ${{ env.MODEL_FILE }}
57+
hf download ${{ env.REPO_ID }} ${{ env.MODEL_FILE }}
5858
shell: bash
5959

6060
- name: Install dependencies
@@ -110,7 +110,7 @@ jobs:
110110
if: steps.model-cache.outputs.cache-hit != 'true'
111111
run: |
112112
pip install huggingface-hub
113-
huggingface-cli download ${{ env.REPO_ID }} ${{ env.MODEL_FILE }}
113+
hf download ${{ env.REPO_ID }} ${{ env.MODEL_FILE }}
114114
shell: bash
115115

116116
- name: Install dependencies (macOS Metal)

0 commit comments

Comments
 (0)