Skip to content

Commit b1a0cd7

Browse files
committed
Just one line then
1 parent 03e66ee commit b1a0cd7

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

.github/workflows/android-perf.yml

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -199,15 +199,7 @@ jobs:
199199
TOKENIZER_FILE=tokenizer.model
200200
TOKENIZER_BIN_FILE=tokenizer.bin
201201
# Fetch the file using a Python one-liner
202-
DOWNLOADED_TOKENIZER_FILE_PATH=$(python -c "
203-
from huggingface_hub import hf_hub_download
204-
# Download the file from the Hugging Face Hub
205-
downloaded_path = hf_hub_download(
206-
repo_id='${{ matrix.model }}',
207-
filename='${TOKENIZER_FILE}'
208-
)
209-
print(downloaded_path)
210-
")
202+
DOWNLOADED_TOKENIZER_FILE_PATH=$(python -c "from huggingface_hub import hf_hub_download; downloaded_path = hf_hub_download(repo_id='${{ matrix.model }}', filename='${TOKENIZER_FILE}'); print(downloaded_path)")
211203
212204
if [ -f "$DOWNLOADED_TOKENIZER_FILE_PATH" ]; then
213205
echo "${TOKENIZER_FILE} downloaded successfully at: $DOWNLOADED_TOKENIZER_FILE_PATH"

0 commit comments

Comments
 (0)