Skip to content

Commit

Permalink
fix: health_check endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
alarv committed Jul 25, 2024
1 parent 77f716d commit edc73e2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
app = FastAPI()

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

@app.post('/predict/')
def predict(req: PredictionRequestPydantic):
Expand Down

0 comments on commit edc73e2

Please sign in to comment.