fix: add /health
This commit is contained in:
@ -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():
|
||||||
|
|||||||
Reference in New Issue
Block a user