Download web.ps1 from ASown/agent-iot: direct link, hf CLI and curl.
- Browser
- Download file 353 Bytes
-
https://huggingface.co/spaces/ASown/agent-iot/resolve/main/web.ps1
- Command line
-
hf download hf://spaces/ASown/agent-iot/web.ps1
-
curl -L -o web.ps1 https://huggingface.co/spaces/ASown/agent-iot/resolve/main/web.ps1
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 | |