Spaces:
Running
Running
TahaFawzyElshrif commited on
Commit ·
4453652
1
Parent(s): 66e8ac0
add health indicator
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def old_call(request: RequestModel):
|
|
| 77 |
return {"Data": answer}
|
| 78 |
"""
|
| 79 |
|
| 80 |
-
@app.get("health")
|
| 81 |
def get_health():
|
| 82 |
return {"status": "ok"}
|
| 83 |
|
|
|
|
| 77 |
return {"Data": answer}
|
| 78 |
"""
|
| 79 |
|
| 80 |
+
@app.get("/health")
|
| 81 |
def get_health():
|
| 82 |
return {"status": "ok"}
|
| 83 |
|