Spaces:
Runtime error
Runtime error
Download bin/test.py from expressapi/chroma: direct link, hf CLI and curl.
- Browser
- Download file 205 Bytes
-
https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/test.py
- Command line
-
hf download hf://spaces/expressapi/chroma/bin/test.py
-
curl -L -o test.py https://huggingface.co/spaces/expressapi/chroma/resolve/main/bin/test.py
205 Bytes
| # Sanity check script to ensure that the Chroma client can connect | |
| # and is capable of recieving data. | |
| import chromadb | |
| # run in in-memory mode | |
| chroma_api = chromadb.Client() | |
| print(chroma_api.heartbeat()) | |