Simple API that exposes an endpoint to predict the sentiment of a list of texts. The use case for this project is to predict a list of comments from dev.to articles provided by a separate client.
The project was created using poetry. If you have poetry installed run:
poetry install
uvicorn
server is among the dependencies. To start the server API run:
uvicorn app.main:app --reload
Simply run:
poetry run python -m pytest