We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
exec
sagemaker-entrypoint.sh
1 parent ea5fe86 commit 5a6e220Copy full SHA for 5a6e220
sagemaker-entrypoint.sh
@@ -1,13 +1,13 @@
1
#!/bin/bash
2
3
if [[ -z "${HF_MODEL_ID}" ]]; then
4
- echo "HF_MODEL_ID must be set"
5
- exit 1
+ echo "HF_MODEL_ID must be set"
+ exit 1
6
fi
7
export MODEL_ID="${HF_MODEL_ID}"
8
9
if [[ -n "${HF_MODEL_REVISION}" ]]; then
10
- export REVISION="${HF_MODEL_REVISION}"
+ export REVISION="${HF_MODEL_REVISION}"
11
12
13
-text-embeddings-router --port 8080 --json-output
+exec text-embeddings-router --port 8080 --json-output
0 commit comments