Skip to content

Commit

Permalink
fix: add healthcheck to 0.23
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Jul 28, 2024
1 parent bd3502a commit eefcd71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,9 @@
allow_headers=["*"]
)

@app.get('/')
def health_check():
return {'status': 'UP'}

@app.post("/predict/sklearn/")
# def sklearn_model(req: PredictionRequest):
Expand Down

0 comments on commit eefcd71

Please sign in to comment.