Inspiration
Love for music
What it does
Our website suggests personalized song recommendations based on the mood of a paragraph you submit. Upon submission, the website displays the Spotify tracks for you to listen to.
How we built it
We used the Python text2emotion library to assign the mood of a paragraph with five scores from the five emotions of happy, sad, anger, fear, and surprise. We then created an algorithm to correspond the emotions with Spotify track properties (such as loudness, valence, etc.) using Spotify's API. The backend was mainly built with Flask.
Challenges we ran into
We couldn't figure out how to use CSS with flask, but we got it eventually
Accomplishments that we're proud of
We figured it all out
What we learned
Flask, elements of web design (front and back end)
What's next for Music4mood
We would like to implement our current features as part of a larger social media app, where users are able to share photos and text simultaneously with music.


Log in or sign up for Devpost to join the conversation.