fix: add /health
This commit is contained in:
@ -43,6 +43,9 @@ app = FastAPI(title="Qwen3-ASR Unified API")
|
||||
asr_model: Optional[Qwen3ASRModel] = None
|
||||
server_args = None
|
||||
|
||||
@app.get("/healthz")
|
||||
def healthz():
|
||||
return {"ok": True}
|
||||
|
||||
@app.on_event("startup")
|
||||
async def startup_event():
|
||||
|
||||
Reference in New Issue
Block a user