Spaces:
Runtime error
Runtime error
Download bin/docker_entrypoint.sh from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 506 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/docker_entrypoint.sh
- Command line
-
hf download hf://spaces/expressapi/chroma/bin/docker_entrypoint.sh
-
curl -L -o docker_entrypoint.sh https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/docker_entrypoint.sh
506 Bytes
| set -e | |
| export IS_PERSISTENT=1 | |
| export CHROMA_SERVER_NOFILE=65535 | |
| args="$@" | |
| if [[ $args =~ ^uvicorn.* ]]; then | |
| echo "Starting server with args: $(eval echo "$args")" | |
| echo -e "\033[31mWARNING: Please remove 'uvicorn chromadb.app:app' from your command line arguments. This is now handled by the entrypoint script." | |
| exec $(eval echo "$args") | |
| else | |
| echo "Starting 'uvicorn chromadb.app:app' with args: $(eval echo "$args")" | |
| exec uvicorn chromadb.app:app $(eval echo "$args") | |
| fi | |