Spotify API is used to retrieve songs from five different genres (Pop, Rock, Blues, Country, Hip-Hop) and Genius API is used to search for the song lyrics for each song. The lyrics are then retrived from the Genius website using web-scaping.
See Creating Dataset.ipynb
Character-level language model is used for this project. The model used is RNN with LSTM layers.
For more detailed explanation, read the Report.pdf
How to run the program :
- Run User interface.ipynb
- Choose the genre for the song you want to write
- Enter a few words (at least 20 characters).
- Press the ‘Generate’ button and wait for results.
- To generate another song lyric, click Reset and repeat 1 to 4.
Screenshot of User interface: