Project template for learning how to deploy ML models using FastApi
Clone the repo, go to the directory MLFastAPI
using your console and write
docker-compose up
then go your browser and write
http://my.mlapp.localhost/docs
you should see this tab:
Try out /prediction/sentiment endpoint by passing a string sentence in english
Using curl
:
user:path # curl -H Host:my.mlapp.localhost http://127.0.0.1/health
{"status":"ok"}%