An interactive web application that leverages the Spotify API and machine learning algorithms to provide song recommendations based on mood.
- Dataset Recommendation: Recommend songs from a provided dataset based on mood.
- API Recommendation: Use the Spotify API to fetch and recommend songs.
- Data Analysis: View data visualizations and analyses on various datasets related to Spotify songs.
git clone https://github.com/EJmpa/Spotify_Music_Recommendation-_System.git
cd spotify_music_recommendation_system
python -m venv venv
source venv/bin/activate
# On Windows use: venv\Scripts\activate
pip install -r requirements.txt
- Register your application on the Spotify Developer Dashboard.
- Retrieve your
client_id
andclient_secret
.
export SPOTIPY_CLIENT_ID='your_client_id'
export SPOTIPY_CLIENT_SECRET='your_client_secret'
streamlit run app2.py
- Select a song from the dropdown.
- Choose a mood.
- Get a list of recommended songs based on your selection.
- Input a song name.
- Choose a mood.
- Get a list of recommended songs fetched from the Spotify API based on your input.
- Choose a dataset from the sidebar.
- Load and view various analyses and visualizations based on the dataset.
This project is licensed under the MIT License. See LICENSE for details.