Skip to content

Commit 0659eb4

Browse files
fix: typo in HF_TOKEN environment variable check message
Fixed a typo in the bash script that logs into Hugging Face using the HF_TOKEN environment variable. The message now correctly states "The HF_TOKEN environment variable is set" instead of "The HF_TOKEN environment variable set".
1 parent cfed906 commit 0659eb4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

deploy/entrypoint.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/bin/bash
22

33
if [[ ! -z "${HF_TOKEN}" ]]; then
4-
echo "The HF_TOKEN environment variable set, logging to Hugging Face."
4+
echo "The HF_TOKEN environment variable is set, logging to Hugging Face."
55
python3 -c "import huggingface_hub; huggingface_hub.login('${HF_TOKEN}')"
66
else
77
echo "The HF_TOKEN environment variable is not set or empty, not logging to Hugging Face."

0 commit comments

Comments
 (0)