I learn how to stucture a coding project from zero
Boilerplate to build Machine Learning API with FastAPI
1. Uvicorn + FastApi
2. Vader
Already Deploy to Heroku
pip install -r requirements.txtuvicorn src.main:app --host=0.0.0.0or
docker-compose up -dGo to here
http://0.0.0.0:8000/docsor
curl -X POST --header "Accept: application/json" --header "Content-Type: application/json" -d "{
\"sentence\": \"Everyone is good\"
}" "http://localhost:8000/analyze"Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.