Skip to content

Commit 3fafdc2

Browse files
committed
fix entrypoint
1 parent b629bf9 commit 3fafdc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/entrypoint.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# /bin/bash
22

33
# check if HF_MODEL_DIR is set and if not skip installing custom dependencies
4-
if [ -z "${HF_MODEL_DIR}" ]; then
4+
if [[ ! -z "${HF_MODEL_DIR}" ]]; then
55
# check if requirements.txt exists and if so install dependencies
66
if [ -f "${HF_MODEL_DIR}/requirements.txt" ]; then
77
echo "Installing custom dependencies from ${HF_MODEL_DIR}/requirements.txt"

0 commit comments

Comments
 (0)