pdf-trainer-api / app.py
Avinashnalla7's picture
Update app.py
33eca2d verified
raw
history blame contribute delete
401 Bytes
# 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)
@app.get("/")
def root():
return {"status": "ok"}
# ------------------------
# EVERYTHING BELOW = YOUR EXISTING CODE
# DO NOT MODIFY
# ------------------------
# your existing routes...
# your gmail logic...
# your endpoints...