# JARVIS Local - installation de la stack locale (Windows) $ErrorActionPreference = "Stop" Set-Location $PSScriptRoot python -m pip install --user -q uv if (-not (Test-Path .venv)) { python -m uv venv .venv --python 3.12 } python -m uv pip install --python .venv\Scripts\python.exe -r requirements.txt New-Item -ItemType Directory -Force models | Out-Null $ProgressPreference = "SilentlyContinue" $files = @{ "kokoro-v1.0.onnx" = "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/kokoro-v1.0.onnx" "voices-v1.0.bin" = "https://github.com/thewh1teagle/kokoro-onnx/releases/download/model-files-v1.0/voices-v1.0.bin" "silero_vad.onnx" = "https://github.com/snakers4/silero-vad/raw/master/src/silero_vad/data/silero_vad.onnx" } foreach ($f in $files.Keys) { if (-not (Test-Path "models\$f")) { Write-Host "Téléchargement $f"; Invoke-WebRequest $files[$f] -OutFile "models\$f" } } ollama pull qwen3:30b-a3b-instruct-2507-q4_K_M if (-not (Test-Path .env)) { Copy-Item .env.example .env } Write-Host "OK. Lance start.bat (Whisper se télécharge au premier démarrage)."