This project is an AI-powered music recommendation system that suggests songs based on the user's detected emotion. It uses machine learning to analyze the user's mood and plays music that matches it.
- BackEnd: Handles emotion detection and recommendation logic.
- FrontEnd: User interface for interacting with the system.
-
Open a terminal and navigate to the BackEnd folder.
-
Install all required Python packages:
pip install -r requirements.txt
🔹 FrontEnd
Open another terminal and navigate to the FrontEnd folder.
Install the required Node.js packages:
npm install
npm install axios
npm install @tensorflow-models/mobilenet @tensorflow/tfjs
🚀 Running the Project 1️⃣ Start the FrontEnd
Open a terminal in the FrontEnd folder.
Run:
npm start
2️⃣ Start the BackEnd
Open another terminal in the BackEnd folder.
Run:
uvicorn main:app --reload
✅ Features
Detects emotion from user input.
Recommends songs that match the user's mood.
Uses modern machine learning libraries and music APIs.
Simple and user-friendly interface.
📌 Note
Make sure both FrontEnd and BackEnd servers are running at the same time for the system to work properly.