mikeion commited on
Commit
82df042
·
verified ·
1 Parent(s): ece0849

Push to HF space

Browse files
Files changed (2) hide show
  1. data/lilac.yml +1 -1
  2. 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:2798fc971b3cca8865fea181ec015589e515d26152ec3dbfbd49d8d969a019cd
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 \