Skip to content

Developed an application using the Spotify API, allowing users to get music recommendations based on a song of their preference using KMeans Clustering through a Streamlit interface

Notifications You must be signed in to change notification settings

aayushsss1/Spotify-Music-Recommendation-System

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Spotify Recommendation System

This project is a Spotify Recommendation System that leverages K-Means clustering to provide song recommendations based on the input song's features. It also offers a user-friendly Streamlit user interface that allows you to input a song's name and the number of recommendations you desire.

Features

  • K-Means clustering on Spotify audio features.
  • Streamlit user interface for an intuitive experience.
  • Easy customization and extensibility.
  • Quick and accurate song recommendations.

Setup and Prerequisites

Before running the application, ensure you have the following dependencies installed:

  • Spotipy (Python library for the Spotify Web API)
  • Streamlit (for the user interface)
  • Sci-Kit Learn
  • Scipy
  • Pandas

Export your Spotify API Credentials on your terminal, you can get them at https://developer.spotify.com

export SPOTIFY_CLIENT_SECRET=xxx
export SPOTIFY_CLIENT_ID=xxx

To run the application -

streamlit run app.py

Demo

alt text

About

Developed an application using the Spotify API, allowing users to get music recommendations based on a song of their preference using KMeans Clustering through a Streamlit interface

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages