Spaces:
Sleeping

hugsbun Claude Sonnet 4.6 commited on
Commit
53380f0
·
1 Parent(s): be369e0

fix: use health-check loop in start.sh and align openenv.yaml port to 7860

Browse files

sleep 3 was too short; uvicorn wasn't ready before inference.py connected.
Health-check loop polls /health until server responds (up to 60s).
Also fixes openenv.yaml port from 8000 to 7860 for HF Spaces.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>

2 files changed +22 -3
Files changed (2)
openenv.yaml+1-1
start.sh+21-2