Inspiration
We feel that far too many people in today's digital age of music consumption suffer from uninspiring, uncreative playlist titles such as "Summer Vibes 2022" or "Driving Music" (us included). We felt that machine learning was a great and fun way to solve this issue by creating titles that are accurate enough to fit the style and feeling of the music, but vague enough to elicit that sense of wonder and curiosity that a good playlist title does.
What it does
When supplied with Cohere and Spotify keys, it takes a link to a (public) Spotify playlist, scrubs Genius for the lyrics of each song within it, and generates a textual summarization of the lyrics.
How we built it
The bulk of the work was done in python. We used a python Spotify API wrapper called spotipy, and Cohere's 'large' model to generate a textual summarization of only a few words.
Challenges we ran into
We would have loved to use a model more suitable for summarizing text as abstract as song lyrics, but we simply didn't have the power or the time to do so. Also, we found the results of testing with Cohere's pre-trained model to be funnier and more abstract, which was exactly the kind of titles we were hoping to create.
Accomplishments that we're proud of
We're most proud of creating a relatively solid program with the time we had. This was our first hackathon, and many of the ideas we came with, as we found out too late, were not possible. That isn't to say this is a "last-minute" project, but it was definitely something we didn't have as much time for as we thought we would.
What we learned
The most important things we learned were simply what was actually possible and impossible. Many things we thought would be trivial actually ended up being much more complicated, and other things we thought would take way too long were actually very straightforward.
What's next for TitleGenerator
We would have liked to incorporate Apple Music support, but as far as we can tell a fee is required for developer keys. We may also train our own model to better create the kinds of titles we would like, but that may take time. More importantly, though, we would like to develop a more fleshed out front-end to make use easier.

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