daeunn commited on
Commit
347f4f4
·
verified ·
1 Parent(s): c1a52d3

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -33,6 +33,10 @@ async def convert_to_g2pk(request: TextRequest):
33
  except Exception as e:
34
  return {"error": str(e)}
35
 
 
 
 
 
36
 
37
  if __name__ == "__main__":
38
  import uvicorn
 
33
  except Exception as e:
34
  return {"error": str(e)}
35
 
36
+ @app.get("/healthcheck")
37
+ async def healthcheck():
38
+ return {"status": "ok"}
39
+
40
 
41
  if __name__ == "__main__":
42
  import uvicorn