Download bin/run_ml.sh from 0xarchit/apicortex: direct link, hf CLI and curl.
- Browser
- Download file 215 Bytes
-
https://huggingface.co/spaces/0xarchit/apicortex/resolve/main/bin/run_ml.sh
- Command line
-
hf download hf://spaces/0xarchit/apicortex/bin/run_ml.sh
-
curl -L -o run_ml.sh https://huggingface.co/spaces/0xarchit/apicortex/resolve/main/bin/run_ml.sh
215 Bytes
| set -euo pipefail | |
| cd /app/ml-service | |
| export PORT=8001 | |
| exec bash -c 'set -o pipefail; PYTHONPATH=/app/ml-service /opt/ml_venv/bin/python -u -m app.main 2>&1 | sed -u "s/^/[ml] /"; exit ${PIPESTATUS[0]}' | |