Spaces:
Sleeping
Sleeping
Download entrypoint.sh from nvikou/techdocs-graphrag: direct link, hf CLI and curl.
- Browser
- Download file 399 Bytes
-
https://huggingface.co/spaces/nvikou/techdocs-graphrag/resolve/main/entrypoint.sh
- Command line
-
hf download hf://spaces/nvikou/techdocs-graphrag/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/nvikou/techdocs-graphrag/resolve/main/entrypoint.sh
399 Bytes
| set -euo pipefail | |
| export NEO4J_PASSWORD="${NEO4J_PASSWORD:-techdocs-local-password}" | |
| neo4j-admin dbms set-initial-password "$NEO4J_PASSWORD" > /dev/null 2>&1 || true | |
| neo4j start | |
| techdocs-index data --wait 120 --if-empty \ | |
| || echo "Indexation initiale impossible : l'application démarre sans corpus." | |
| exec streamlit run app.py --server.port=7860 --server.address=0.0.0.0 | |