The goal of this project is to create an API that will predict the popularity of a song based on its other features. The API returns a json, here is an exemple : { "artist": "John Hartford", "name": "Back in the Goodle Days", "popularity": 22 }
A trained model is saved as assets/model.joblib. The code of the API is available in api/fast.py
pip install -r requirements.txt
uvicorn api.fast:app --reload
Open browser : http://localhost:8000/