pdf-trainer-worker / start.sh
Avinashnalla7's picture
Fix HF start: run worker as module + health server
564a635
raw
history blame contribute delete
129 Bytes
#!/usr/bin/env sh
set -eu
python -u -m backend.worker.worker &
exec uvicorn health_api:app --host 0.0.0.0 --port "${PORT:-7860}"