Spaces:
Sleeping
Sleeping
Upload 6 files
Browse files
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)
|