Author: Yusuf Khan
Example of using fastAPI and Heroku to deploy and host a ML related service.
In this scenario, coded a k-means (EM) algorithm from scratch and hosted the compression code as an app and deployed on Heroku.
Original Image
Compressed Image
More details and improvements to come.
- Heroku timeout to be dealt with by pushing tasks to background jobs