coyotte508 HF Staff commited on
Commit
529d640
·
verified ·
1 Parent(s): fd73f59

Use more recent way to call hf cli

Browse files
Files changed (1) hide show
  1. build.sh +1 -1
build.sh CHANGED
@@ -17,7 +17,7 @@ fi
17
 
18
  # Download the space
19
  # git clone --depth 1 https://:$HF_TOKEN@huggingface.co/spaces/$HF_SPACE_NAME space
20
- huggingface-cli download $HF_SPACE_NAME --repo-type space --local-dir space --token $HF_TOKEN
21
 
22
  # Change directory to the space's directory
23
  cd space
 
17
 
18
  # Download the space
19
  # git clone --depth 1 https://:$HF_TOKEN@huggingface.co/spaces/$HF_SPACE_NAME space
20
+ hf download $HF_SPACE_NAME --repo-type space --local-dir space --token $HF_TOKEN
21
 
22
  # Change directory to the space's directory
23
  cd space