sidmaz666 commited on
Commit
5a284f4
·
verified ·
1 Parent(s): c6e6c33

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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]: