Skip to content

Commit

Permalink
Merge pull request #37 from DevendraPPatil/all-1.0-prod
Browse files Browse the repository at this point in the history
Fetch: Health api added
  • Loading branch information
sudeeppr1998 authored Nov 12, 2024
2 parents ab6a667 + 87b27bf commit 66223f1
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions app.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,5 +348,14 @@ def get_phonemes():
"phonemes": phonemesList
})

# Health check endpoint
@app.get("/ping")
async def health_check():
return {
"status": True,
"message": "Service is working"
}


if __name__ == '__main__':
app.run(host="0.0.0.0", port=5001, debug=False)

0 comments on commit 66223f1

Please sign in to comment.