An app that allows a user to receive recommendations from a playlist of their choosing.
I am using Python 3.9.1 with this project. Use the package manager pip to install all dependencies. I would recommend using a virtual environment before installing dependencies. Navigate to the main directory (where manage.py
is) and run the below command:
pip install -r requirements.txt
In the same directory, use the below commands to intialise and start the application
python manage.py migrate # creates and loads database schema
python manage.py runserver # runs application
Your terminal will then generate a url to paste into your browser where the app is ran.
Use the following steps to use the app:
- Click "Login with Spotify", and enter your Spotify credentials
- Choose a playlist from the Featured Playlist grid, or copy the Spotify URI from the Playlist detail in the Spotify desktop app
- Click "Get recommendations" (keep in mind that if it's the first time you've requested recommendations it will take significantly longer as the model has to be trained)
- Click on any of the songs that are generated to be redirected to Spotify's website to give the song a listen!
Please refer to the Jupyter notebook for required analysis
Please refer to Jupyter notebook for required conclusion