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.
- 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
- 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
- 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
- Python
- OpenAI API key
- Required Python packages (see Installation section)
- Clone the repository:
git clone https://github.com/yourusername/LyricSearch.git
cd LyricSearch- Install required packages:
pip install -r requirements.txt-
Set up your OpenAI API key:
- Replace
YOUR_OPENAI_API_KEYinapp.pywith your actual OpenAI API key
- Replace
-
Build the search index:
python build_index.py- Start the Flask application:
python app.py-
Open your web browser and navigate to the local host URL
-
Choose between:
- Generating AI lyrics
- Submitting your own lyrics
-
Analyze similarity level of public songs to determine how authentic input song is