Spaces:
Paused
Paused
Download start.sh from 2Btainment/absolution-omega: direct link, hf CLI and curl.
- Browser
- Download file 450 Bytes
-
https://huggingface.co/spaces/2Btainment/absolution-omega/resolve/main/start.sh
- Command line
-
hf download hf://spaces/2Btainment/absolution-omega/start.sh
-
curl -L -o start.sh https://huggingface.co/spaces/2Btainment/absolution-omega/resolve/main/start.sh
450 Bytes
| set -euo pipefail | |
| cd "$(dirname "$0")" | |
| PYTHON_BIN="${PYTHON_BIN:-python3}" | |
| if [ ! -x ".venv/bin/python" ]; then | |
| "$PYTHON_BIN" -m venv .venv | |
| fi | |
| . .venv/bin/activate | |
| echo "ABSOLUTION Ω / Installation der lokalen Abhängigkeiten (ggf. Download über pip) ..." | |
| python -m pip install -e . | |
| echo "ABSOLUTION Ω / Website: http://127.0.0.1:8000" | |
| echo "Zum Stoppen: Strg+C" | |
| python -m uvicorn app.server:app --host 127.0.0.1 --port 8000 | |