git clone https://github.com/porridgewithraisins/mood-music-recommendation.git
cd mood-music-recommendation
unzip csv_files.zip -d flaskApp/csv_filesThen, start a virtual environment (recommended as machine learning packages are thicc)
python3 -m venv venv
source venv/bin/activateThen install dependencies,
pip install -r requirements.txtThen start the app on a local server,
export FLASK_APP=flaskr
export FLASK_ENV=development
flask runWorks like:
Upload image of your face.
It analyses your mood from it, and gives you a playlist of songs matching your mood.
The face-to-mood bit is done with FER
The song-to-mood bit was done with tensorflow. I used this dataset at Kaggle
Demo:
You can also perform a fuzzy search of the entire database

