Spaces:
Running
Running
Update space 6th time
Browse files
main.py
CHANGED
@@ -224,6 +224,9 @@ def get_meta_info(text: str):
|
|
224 |
"year": now.year # 0 to 23
|
225 |
}
|
226 |
|
|
|
|
|
|
|
227 |
|
228 |
@app.post("/analyze")
|
229 |
async def analyze(input: TextInput):
|
|
|
224 |
"year": now.year # 0 to 23
|
225 |
}
|
226 |
|
227 |
+
@app.get("/health")
|
228 |
+
def health_check():
|
229 |
+
return {"status": "ok", "message": "API is healthy 🚀"}
|
230 |
|
231 |
@app.post("/analyze")
|
232 |
async def analyze(input: TextInput):
|