mitesh001 commited on
Commit
6c1d0ee
·
1 Parent(s): 4435a4a

Update space 6th time

Browse files
Files changed (1) hide show
  1. main.py +3 -0
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):