Jitendra12421 commited on
Commit
03852f0
·
verified ·
1 Parent(s): e947c0e

Upload 6 files

Browse files
Files changed (1) hide show
  1. app.py +4 -0
app.py CHANGED
@@ -65,3 +65,7 @@ def cron_trigger(background_tasks: BackgroundTasks):
65
  @app.get("/health")
66
  def health_check():
67
  return {"status": "alive", "server_time_ist": datetime.now(IST).isoformat()}
 
 
 
 
 
65
  @app.get("/health")
66
  def health_check():
67
  return {"status": "alive", "server_time_ist": datetime.now(IST).isoformat()}
68
+
69
+ if __name__ == "__main__":
70
+ import uvicorn
71
+ uvicorn.run(app, host="0.0.0.0", port=7860)