Spaces:
Sleeping
Sleeping
Upload app.py
Browse files27 unmodified lines2829303127 unmodified linesexcept RuntimeError as exc:raise HTTPException(status_code=503, detail=str(exc)) from excexcept Exception as exc: # pragma: no coverraise HTTPException(status_code=500, detail="prediction_failed") from exc27 unmodified lines2829303127 unmodified linesexcept RuntimeError as exc:raise HTTPException(status_code=503, detail=str(exc)) from excexcept Exception as exc: # pragma: no coverraise HTTPException(status_code=500, detail=f"prediction_failed: {exc}") from exc
app.py+1-1