param(
    [string]$Host = "127.0.0.1",
    [int]$Port = 8765
)

. (Join-Path $PSScriptRoot "Common.ps1")

$dashboardScript = Join-Path (Get-RalphRoot) "gui\app.py"
if (-not (Test-Path $dashboardScript)) {
    throw "Dashboard script not found: $dashboardScript"
}

& python $dashboardScript --host $Host --port $Port
