agent-iot / web.ps1
ASown's picture
Consolidate project history under ASown
f368481
Raw History Blame Contribute Delete
353 Bytes
# web.ps1 - launch the maker harness WEB chat UI (local + online).
$ErrorActionPreference = 'Continue'
$env:PYTHONWARNINGS = 'ignore'
$env:PYTHONIOENCODING = 'utf-8'
Set-Location $PSScriptRoot
if (-not $env:PORT) { $env:PORT = '8080' }
Write-Host "Open http://localhost:$($env:PORT)"
python -m uvicorn harness.webapp:app --host 0.0.0.0 --port $env:PORT