Update app.py
Browse files
app.py
CHANGED
|
@@ -290,7 +290,7 @@ app = FastAPI(
|
|
| 290 |
# ------------------------- API Endpoints -------------------------
|
| 291 |
@app.get("/health", summary="Health Check", tags=["System"])
|
| 292 |
async def health_check() -> Dict[str, str]:
|
| 293 |
-
return {"status": "ok", "device": DEVICE, "sample_rate": SAMPLE_RATE}
|
| 294 |
|
| 295 |
@app.get("/languages", summary="List Supported Languages", tags=["Metadata"])
|
| 296 |
async def get_languages() -> Dict[str, Any]:
|
|
|
|
| 290 |
# ------------------------- API Endpoints -------------------------
|
| 291 |
@app.get("/health", summary="Health Check", tags=["System"])
|
| 292 |
async def health_check() -> Dict[str, str]:
|
| 293 |
+
return {"status": "ok", "device": DEVICE, "sample_rate": str(SAMPLE_RATE)} # Convert to string
|
| 294 |
|
| 295 |
@app.get("/languages", summary="List Supported Languages", tags=["Metadata"])
|
| 296 |
async def get_languages() -> Dict[str, Any]:
|