abhisheksan commited on
Commit
2b79bbe
·
verified ·
1 Parent(s): 8702989

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +1 -1
main.py CHANGED
@@ -328,7 +328,7 @@ app.add_middleware(
328
 
329
  model_manager = ModelManager()
330
 
331
- @app.get("/health")
332
  async def health_check():
333
  return {
334
  "status": "healthy",
 
328
 
329
  model_manager = ModelManager()
330
 
331
+ @app.api_route("/health", methods=["GET", "HEAD"])
332
  async def health_check():
333
  return {
334
  "status": "healthy",