git clone https://github.com/PT00/Music-Genre-Classifier.git
cd Music-Genre-Classifier
python -m venv env
source env/bin/activate
env\Scripts\activate
pip install -r requirements.txt
To use yt-dlp
for downloading and extracting audio, FFmpeg must be installed on your system. Follow the instructions for your operating system:
brew install ffmpeg
sudo apt update sudo apt install ffmpeg
- Download FFmpeg from ffmpeg.org.
- Extract the archive and add the
bin
folder to your system's PATH.
yt-dlp -x --audio-format mp3 -o "DIRECTORY_FOLDER_NAME/%(title)s.%(ext)s" "PLAYLIST_LINK"