Skip to content

This project is an AI-powered music recommendation system that suggests songs based on the user’s detected emotion.

Notifications You must be signed in to change notification settings

Abhinavkk742/Emotion_based_music_recommendation_system

Repository files navigation

🎵 Emotion-Based Music Recommendation System

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.


📂 Project Structure

  • BackEnd: Handles emotion detection and recommendation logic.
  • FrontEnd: User interface for interacting with the system.

⚙️ Installation of Dependencies

🔹 BackEnd

  1. Open a terminal and navigate to the BackEnd folder.

  2. 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.

About

This project is an AI-powered music recommendation system that suggests songs based on the user’s detected emotion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors