Skip to content

vrathi101/LyricSearch

Repository files navigation

LyricSearch

LyricSearch is an AI-powered web application that helps users generate unique lyrics and analyze the authenticity of existing lyrics. The application uses advanced natural language processing and machine learning techniques to provide intelligent lyrics generation and similarity analysis.

Features

1. AI Lyrics Generation

  • Generate unique lyrics based on your specifications
  • Customize lyrics by providing:
    • Brief description
    • Theme(s)
    • Tone/Mood
    • Genre
  • Powered by OpenAI's GPT-3.5 Turbo model

2. Lyrics Authenticity Analysis

  • Submit your own lyrics for analysis
  • Compare against a database of existing songs
  • Get similarity scores and highlighted matches
  • Identify potential similarities with existing songs

Technical Stack

  • Backend: Python with Flask
  • AI/ML:
    • OpenAI GPT-3.5 Turbo for lyrics generation
    • Sentence Transformers for text embeddings
    • FAISS for efficient similarity search
  • Frontend: HTML, CSS with modern UI design
  • Data Storage: FAISS index with pickle files for fast inference

Prerequisites

  • Python
  • OpenAI API key
  • Required Python packages (see Installation section)

Installation

  1. Clone the repository:
git clone https://github.com/yourusername/LyricSearch.git
cd LyricSearch
  1. Install required packages:
pip install -r requirements.txt
  1. Set up your OpenAI API key:

    • Replace YOUR_OPENAI_API_KEY in app.py with your actual OpenAI API key
  2. Build the search index:

python build_index.py

Usage

  1. Start the Flask application:
python app.py
  1. Open your web browser and navigate to the local host URL

  2. Choose between:

    • Generating AI lyrics
    • Submitting your own lyrics
  3. Analyze similarity level of public songs to determine how authentic input song is

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published