Spaces:
Sleeping
Sleeping
Victor Gerardo Rivera commited on
Commit ·
e7d23ae
1
Parent(s): 59e5ed2
Add root endpoint so HF doesn't log 404 on health check
Browse files20 unmodified lines21222324252620 unmodified linesparser = LabReportParser()renderer = VisualRenderer()@app.get("/health")async def health():return {"status": "healthy"}20 unmodified lines2122232425262728293020 unmodified linesparser = LabReportParser()renderer = VisualRenderer()@app.get("/")async def root():return {"message": "StrainAI Backend API is up and running!", "docs": "/docs"}@app.get("/health")async def health():return {"status": "healthy"}
main.py+4