Spaces:
Sleeping
Sleeping
Download scripts/entrypoint.sh from gui-sparim/base_conhecimento: direct link, hf CLI and curl.
- Browser
- Download file 221 Bytes
-
https://huggingface.co/spaces/gui-sparim/base_conhecimento/resolve/main/scripts/entrypoint.sh
- Command line
-
hf download hf://spaces/gui-sparim/base_conhecimento/scripts/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/gui-sparim/base_conhecimento/resolve/main/scripts/entrypoint.sh
221 Bytes
| set -eu | |
| cd /app/backend | |
| if [ "${APP_ENV:-development}" = "space" ]; then | |
| python -m app.hf_persistence restore | |
| fi | |
| python -m app.bootstrap | |
| exec uvicorn app.main:app --host 0.0.0.0 --port "${PORT:-7860}" | |