Spaces:
Runtime error
Runtime error
File size: 622 Bytes
c869f7a | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 | $ErrorActionPreference = "Stop"
if (-not (Test-Path ".venv\Scripts\python.exe")) {
python -m venv .venv
}
.\.venv\Scripts\python.exe -m pip install --upgrade pip
.\.venv\Scripts\python.exe -m pip install -r requirements.txt
if (-not (Get-Command "ffmpeg" -ErrorAction SilentlyContinue)) {
Write-Warning "ffmpeg was not found on PATH. Install it before processing audio files."
}
if (-not (Test-Path ".env")) {
Copy-Item ".env.example" ".env"
Write-Host "Created .env from .env.example. Add your OPENROUTER_API_KEY before generating MoM."
}
Write-Host "Setup complete. Run .\run.ps1 to start the app."
|