Spaces:
Running
Running
Update main.py
Browse files
main.py
CHANGED
|
@@ -328,7 +328,7 @@ app.add_middleware(
|
|
| 328 |
|
| 329 |
model_manager = ModelManager()
|
| 330 |
|
| 331 |
-
@app.
|
| 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",
|