wcaguar / scripts /run.ps1
ngoldbla
Deploy to Hugging Face Space
af61aae
raw
history blame contribute delete
381 Bytes
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