Spaces:
Runtime error
Runtime error
Download src/deploy/huggingface/entrypoint.sh from uzzam24/complexity-levels-api: direct link, hf CLI and curl.
- Browser
- Download file 193 Bytes
-
https://huggingface.co/spaces/uzzam24/complexity-levels-api/resolve/main/src/deploy/huggingface/entrypoint.sh
- Command line
-
hf download hf://spaces/uzzam24/complexity-levels-api/src/deploy/huggingface/entrypoint.sh
-
curl -L -o entrypoint.sh https://huggingface.co/spaces/uzzam24/complexity-levels-api/resolve/main/src/deploy/huggingface/entrypoint.sh
193 Bytes
| set -e | |
| ROOT="${APP_ROOT:-/app}" | |
| python "$ROOT/deploy/huggingface/download_model.py" | |
| exec uvicorn app.main:app --host 0.0.0.0 --port "${PORT:-7860}" --app-dir "$ROOT/deploy/backend" | |