Download openenv/start.sh from FineEnvs/retroenv: direct link, hf CLI and curl.
- Browser
- Download file 404 Bytes
-
https://huggingface.co/spaces/FineEnvs/retroenv/resolve/main/openenv/start.sh
- Command line
-
hf download hf://spaces/FineEnvs/retroenv/openenv/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/FineEnvs/retroenv/resolve/main/openenv/start.sh
404 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| # Fetch or check the task bundle, then point the server at the directory prepare.py printed. | |
| prepared="$(python prepare.py | tail -n 1)" | |
| export RETROENV_BENCHMARK_DIR="${RETROENV_BENCHMARK_DIR:-${prepared:-${RETROENV_PREPARED_DIR:-prepared}}}" | |
| exec uvicorn retroenv_openenv.server:app --host 0.0.0.0 --port "${PORT:-8000}" --ws-ping-timeout 600 | |