Skip to content

The Spotify Playlist Wizard is an application that uses the GPT model to generate personalized music playlists on Spotify based on user prompts, enhancing the music discovery experience by providing relevant and customized recommendations.

Notifications You must be signed in to change notification settings

qmeng222/Spotify-Playlist-Wizard

Repository files navigation

Spotify Playlist Wizard

Overview:

  • Intro: The Spotify Playlist Wizard is an innovative application that leverages the power of the GPT (Generative Pre-trained Transformer) model to generate music playlists on Spotify based on user prompts. This project aims to enhance the music discovery experience for Spotify users by providing personalized and relevant playlists tailored to their specific interests and preferences.
  • Tech stack: GPT, Python

Project Overview

Setup:

  1. create a virtual environment: python -m venv env
  2. activate the virtual environment: source env/bin/activate (all subsequent steps should be performed within the virtual environment)
  3. update pip: python -m pip install --upgrade pip
  4. install the OpenAI package, the python-dotenv package, and the Spotipy library (a lightweight Python library that provides a simple and convenient way to interact with the Spotify Web API):
    pip install openai
    pip install python_dotenv
    pip install spotipy
    
    or simply pip install openai python_dotenv spotipy altogether!
  5. accept command line arguments by running python app.py -p "Independence Day songs" -n 12, for example

Resources:

  1. Spotify for Developers: https://developer.spotify.com/
  2. Spotify web player: https://open.spotify.com/

About

The Spotify Playlist Wizard is an application that uses the GPT model to generate personalized music playlists on Spotify based on user prompts, enhancing the music discovery experience by providing relevant and customized recommendations.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published