Rwkv-xd / run_windows.ps1
Ksjsjjdj's picture
Upload 34 files
b219d99 verified
Param(
[string]$CONFIG_FILE = 'config.production.yaml'
)
if (-not (Test-Path .\.venv\Scripts\Activate.ps1)) {
Write-Host "Virtualenv not found. Run setup_windows.ps1 first." -ForegroundColor Red
exit 1
}
.\.venv\Scripts\Activate.ps1
$env:CONFIG_FILE=$CONFIG_FILE
Write-Host "Starting the RWKV FastAPI app using $CONFIG_FILE..." -ForegroundColor Green
python app.py