Spaces:
Runtime error
Runtime error
Push to HF space
Browse files- data/lilac.yml +1 -1
- docker_start.sh +0 -11
data/lilac.yml
CHANGED
@@ -1,3 +1,3 @@
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
-
oid sha256:
|
3 |
size 385
|
|
|
1 |
version https://git-lfs.github.com/spec/v1
|
2 |
+
oid sha256:1352c95acbfe71868c02ea9ebbea443b4b3eb9cb50f9bc54b3010f36d457f1fd
|
3 |
size 385
|
docker_start.sh
CHANGED
@@ -3,17 +3,6 @@
|
|
3 |
# Fail if any of the commands below fail.
|
4 |
set -e
|
5 |
|
6 |
-
# Check if the HUGGINGFACE_TOKEN is set at runtime
|
7 |
-
echo "Checking if HUGGINGFACE_TOKEN is set at runtime..."
|
8 |
-
if [ -z "${HUGGINGFACE_TOKEN}" ]; then
|
9 |
-
echo "HUGGINGFACE_TOKEN is not set at runtime."
|
10 |
-
# Exit if no token is found, or handle the case appropriately.
|
11 |
-
exit 1
|
12 |
-
else
|
13 |
-
echo "HUGGINGFACE_TOKEN is set at runtime."
|
14 |
-
fi
|
15 |
-
|
16 |
-
# Your existing commands to start the server
|
17 |
lilac hf-docker-start
|
18 |
gunicorn lilac.server:app \
|
19 |
--bind 0.0.0.0:5432 \
|
|
|
3 |
# Fail if any of the commands below fail.
|
4 |
set -e
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
lilac hf-docker-start
|
7 |
gunicorn lilac.server:app \
|
8 |
--bind 0.0.0.0:5432 \
|