Update app/main.py
Browse files- app/main.py +0 -1
app/main.py
CHANGED
|
@@ -53,7 +53,6 @@ async def gradcam_image(file: UploadFile = File(...), interpolant: float = Query
|
|
| 53 |
tb = traceback.format_exc()
|
| 54 |
return JSONResponse({"error": str(e), "trace": tb}, status_code=500)
|
| 55 |
|
| 56 |
-
# Optional health endpoint
|
| 57 |
@app.get("/health")
|
| 58 |
async def health():
|
| 59 |
return {"status": "ok", "classes": CLASS_NAMES}
|
|
|
|
| 53 |
tb = traceback.format_exc()
|
| 54 |
return JSONResponse({"error": str(e), "trace": tb}, status_code=500)
|
| 55 |
|
|
|
|
| 56 |
@app.get("/health")
|
| 57 |
async def health():
|
| 58 |
return {"status": "ok", "classes": CLASS_NAMES}
|