Fred808 commited on
Commit
7e448cf
·
verified ·
1 Parent(s): 7eb56c5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -34,6 +34,10 @@ async def lifespan(app: FastAPI):
34
 
35
  app = FastAPI(lifespan=lifespan)
36
 
 
 
 
 
37
 
38
  @app.get("/")
39
  def keep_alive():
 
34
 
35
  app = FastAPI(lifespan=lifespan)
36
 
37
+ @app.get("/health")
38
+ def healthcheck():
39
+ return {"healthy": True}
40
+
41
 
42
  @app.get("/")
43
  def keep_alive():