Spaces:
Sleeping
Sleeping
| # EXISTING IMPORTS (keep as-is) | |
| from fastapi import FastAPI | |
| # ... all your other imports (DO NOT TOUCH) | |
| app = FastAPI() | |
| # ✅ ADD THIS ONLY (top, after app creation) | |
| def root(): | |
| return {"status": "ok"} | |
| # ------------------------ | |
| # EVERYTHING BELOW = YOUR EXISTING CODE | |
| # DO NOT MODIFY | |
| # ------------------------ | |
| # your existing routes... | |
| # your gmail logic... | |
| # your endpoints... |