We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7880f13 commit af557a0Copy full SHA for af557a0
1 file changed
.github/workflows/test.yaml
@@ -22,16 +22,7 @@ jobs:
22
- name: Install huggingface-hub
23
run: python -m pip install huggingface-hub
24
- name: Download model
25
- run: |
26
- python - <<'PY'
27
- import os
28
- from huggingface_hub import hf_hub_download
29
-
30
- hf_hub_download(
31
- repo_id=os.environ["REPO_ID"],
32
- filename=os.environ["MODEL_FILE"],
33
- )
34
- PY
+ run: hf download ${{ env.REPO_ID }} ${{ env.MODEL_FILE }}
35
- name: Cache model
36
uses: actions/cache@v4
37
with:
0 commit comments