#!/bin/bash # Fail if any of the commands below fail. set -e lilac hf-docker-start gunicorn lilac.server:app \ --bind 0.0.0.0:5432 \ --preload -k uvicorn.workers.UvicornWorker \ --timeout 120 #!/bin/bash # Check if the HUGGINGFACE_TOKEN is set at runtime echo "Checking if HUGGINGFACE_TOKEN is set at runtime..." if [ -z "${HUGGINGFACE_TOKEN}" ]; then echo "HUGGINGFACE_TOKEN is not set at runtime." else echo "HUGGINGFACE_TOKEN is set at runtime." fi # The rest of your script to start your application