Skip to content

basil-b2s/Sithara-Music-Box

Repository files navigation

BFH Banner

Sithara Song Generator

" സിത്താര ചേച്ചീടെ പാട്ടുപെട്ടി "

This is basically a lyrics generator build using NLP, that will provide you the lyrics of famous singer predominant in the malayalam industry Ms.Sithara Krishnakumar using the pre-trained model. Enter the first few words of the song and lyrics will be displayed to you.

Team members

  1. Basil Saji
  2. Surabhi S

Team Id

BFH/rec57gyR9gEQFKfqU/2021

Link to product walkthrough

Code Explanation

How it Works ?

Web App - Sithara Song Generator
On loading the web page, in the input box, enter the first few words of the song you want the lyrics of. Then click the Generate button, this will direct you to another page in the same tab that shows the generated lyrics.
The model is built using Bidirectional LSTM architecture. Code written in Python language. For collecting the dataset, we downloaded the lyrics (in manglish) of Sitara songs from the internet. Flask framework is used to deploy this machine learning model. Code can be found here.The github repository containing files of this project was connected to Heroku Platform. The frontend of web page is created using simple HTML and CSS. Source code for the frontend is present here in the folder. And the Bidirectional LSTM architecture is created using tensorflow. The data which is preprocessed in the Text Preprocessing notebook is then provided to model training followed by tokenization using keras tokenizer and sequence padding. You can find the Model training notebook here

Live Demo

Click the image below. Screenshot (568)

Libraries used

  • pandas - 1.1.4

  • numpy - 1.19.5

  • Flask - 1.1.2

  • gunicorn - 20.1.0

  • regex - 2020.11.13

  • keras - 2.4.3

  • tensorflow - 2.2.0+cpu

How to configure

Download the above github repository in a colab notebook and unzip it. Install the files in requirements.txt. Then Load the Lyrics generator Notebook.

How to Run

After configuring the project as told above, Run every single cell of the notebook in that order.