Example API for the oil-sentiment repo using FastAPI.
This project shows how to setup a simple API:
- fastapi
git clone https://github.com/gc5232978/oil-sentiment-api.git
cd oil-sentiment-api
poetry install
uvicorn main:app --host 0.0.0.0 --port 8000
curl http://localhost:8000/