Spaces:
Runtime error
Runtime error
Download bin/test-remote from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 321 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/test-remote
- Command line
-
hf download hf://spaces/expressapi/chroma/bin/test-remote
-
curl -L -o test-remote https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/test-remote
321 Bytes
| set -e | |
| # Assert first argument is present | |
| if [ -z "$1" ]; then | |
| echo "Usage: bin/test-remote <remote-host>" | |
| exit 1 | |
| fi | |
| export CHROMA_INTEGRATION_TEST_ONLY=1 | |
| export CHROMA_SERVER_HOST=$1 | |
| export CHROMA_API_IMPL=chromadb.api.fastapi.FastAPI | |
| export CHROMA_SERVER_HTTP_PORT=8000 | |
| python -m pytest | |