fix: add /health
Some checks failed
Build container / build-docker (push) Successful in 36m0s
Close and lock inactive threads / manage-inactive (push) Has been cancelled

This commit is contained in:
vera
2026-04-23 16:30:26 +08:00
parent 482feaeabc
commit 22adbf9d88

View File

@ -43,6 +43,9 @@ app = FastAPI(title="Qwen3-ASR Unified API")
asr_model: Optional[Qwen3ASRModel] = None asr_model: Optional[Qwen3ASRModel] = None
server_args = None server_args = None
@app.get("/healthz")
def healthz():
return {"ok": True}
@app.on_event("startup") @app.on_event("startup")
async def startup_event(): async def startup_event():