Spaces:
Paused
Paused
Download start_windows.bat from 2Btainment/absolution-omega: direct link, hf CLI and curl.
- Browser
- Download file 669 Bytes
-
https://huggingface.co/spaces/2Btainment/absolution-omega/resolve/main/start_windows.bat
- Command line
-
hf download hf://spaces/2Btainment/absolution-omega/start_windows.bat
-
curl -L -o start_windows.bat https://huggingface.co/spaces/2Btainment/absolution-omega/resolve/main/start_windows.bat
669 Bytes
| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| if not exist ".venv\Scripts\python.exe" ( | |
| py -3 -m venv .venv | |
| if errorlevel 1 ( | |
| echo Python 3.11+ konnte nicht gefunden werden. | |
| pause | |
| exit /b 1 | |
| ) | |
| ) | |
| call ".venv\Scripts\activate.bat" | |
| echo ABSOLUTION Omega - Lokale Abhaengigkeiten installieren (ggf. via pip Download) ... | |
| python -m pip install -e . | |
| if errorlevel 1 ( | |
| echo Installation fehlgeschlagen. | |
| pause | |
| exit /b 1 | |
| ) | |
| echo Website: http://127.0.0.1:8000 | |
| echo Zum Beenden Strg+C. | |
| start "" cmd /c "timeout /t 3 /nobreak >nul && start http://127.0.0.1:8000" | |
| python -m uvicorn app.server:app --host 127.0.0.1 --port 8000 | |
| if errorlevel 1 pause | |