File size: 299 Bytes
7158b5e
f84ed9c
7158b5e
724013d
7158b5e
724013d
7158b5e
 
724013d
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
from fastapi import FastAPI
from app.api.transcribe import router as transcribe_router
from app.infra.metrics import setup_metrics

app = FastAPI(title="PhoWhisper ASR Service")

setup_metrics(app)
app.include_router(transcribe_router)

@app.get("/health")
def health():
    return {"status": "ok"}