Spaces:
Running
Running
| @echo off | |
| setlocal | |
| cd /d "%~dp0" | |
| where python >nul 2>nul | |
| if errorlevel 1 ( | |
| echo Python was not found. Install Python 3.11 or newer and enable Add Python to PATH. | |
| exit /b 1 | |
| ) | |
| if not exist .venv ( | |
| python -m venv .venv | |
| if errorlevel 1 exit /b 1 | |
| ) | |
| call .venv\Scripts\activate.bat | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| if not exist .env copy .env.example .env >nul | |
| echo. | |
| echo Setup completed. | |
| echo Open .env and replace your_openrouter_api_key_here with your real OpenRouter API key. | |
| echo Then run run.bat. | |