Spaces:
Running
Running
Download run-backend.cmd from Samad14/bio-nexus-api: direct link, hf CLI and curl.
- Browser
- Download file 383 Bytes
-
https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/run-backend.cmd
- Command line
-
hf download hf://spaces/Samad14/bio-nexus-api/run-backend.cmd
-
curl -L -o run-backend.cmd https://huggingface.co/spaces/Samad14/bio-nexus-api/resolve/main/run-backend.cmd
383 Bytes
| @echo off | |
| cd /d "%~dp0bioai-platform\backend" | |
| set "PY=%~dp0bioai-platform\backend\.venv\Scripts\python.exe" | |
| if not exist "%PY%" ( | |
| echo [ERROR] Backend venv not found at %PY% | |
| echo Run: python -m venv --system-site-packages .venv | |
| echo .venv\Scripts\python -m pip install -r requirements.txt | |
| pause | |
| exit /b 1 | |
| ) | |
| "%PY%" -m uvicorn app.main:app --host 0.0.0.0 --port 8000 | |