| param( | |
| [int]$Port = 7860 | |
| ) | |
| $ErrorActionPreference = "Stop" | |
| Set-Location (Join-Path $PSScriptRoot "..") | |
| if (-not (Get-Command docker -ErrorAction SilentlyContinue)) { | |
| Write-Error "Docker is not installed or not on PATH. Install Docker Desktop first." | |
| } | |
| Write-Host "Starting wcaguar on http://localhost:$Port ..." | |
| $env:GRADIO_SERVER_PORT = "$Port" | |
| docker compose up --build | |