LucaR84 commited on
Commit
d36bbaa
·
1 Parent(s): 45d1d0b

fixed ready endpoint

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -41,7 +41,7 @@ async def health_check():
41
  content={"status": "healthy", "model_loaded": model_manager.is_loaded}
42
  )
43
 
44
- @app.get("/readiness", status_code=status.HTTP_200_OK)
45
  async def readiness_check():
46
  """Readiness check endpoint"""
47
  if model_manager.is_loaded:
 
41
  content={"status": "healthy", "model_loaded": model_manager.is_loaded}
42
  )
43
 
44
+ @app.get("/ready", status_code=status.HTTP_200_OK)
45
  async def readiness_check():
46
  """Readiness check endpoint"""
47
  if model_manager.is_loaded: