A web application that provides song recommendations based on user input, using the Groq API for mood and genre analysis. Enter a song name, and the app will suggest similar songs, detailing each song's mood and genre.
- Enter a song name to get recommendations.
- Shows mood and genre analysis of the input song.
- Provides a list of similar songs with detailed descriptions.
- Built using Streamlit for an interactive UI.
- Integrate Chain of Thought (CoT) prompting for better recommendation accuracy.
- Works on the Llama 3.2-90b text preview model for generating recommendations.
- Clone the repository:
git clone https://github.com/your-username/song-rec-app.git
- Install required packages:
pip install -r requirements.txt
- Set up your Groq API key in the environment variables.
- Run the app:
streamlit run app.py
- Open the app in your browser and enter a song name to get recommendations.
- The app takes a song name as input and uses Groq’s API to analyze the song.
- It identifies mood and genre and fetches 10 similar song recommendations based on these attributes.
- Python
- Streamlit - For the user interface
- Groq API - For song analysis and recommendation generation
Contributions are welcome! Feel free to submit issues or pull requests.