Skip to content

mohsin-nasir/MoodSense

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MoodSense

AI assistant that reads your facial expressions and adjusts responses accordingly.

Tech Stack

  • Python, Flask, OpenCV, Groq API
  • React, Vite, Tailwind CSS
  • Llama vision model + OpenAI text model
  • SQLite

Setup

  1. Clone and navigate:
git clone 'https://github.com/mohsin-nasir/MoodSense.git'
cd MoodSense
  1. Install dependencies:
pip install -r requirements.txt
  1. Add your Groq API key to .env:
API_KEY=your_groq_api_key_here
  1. Run:
python app.py

Open http://localhost:5000

Usage

Type your question, and the app captures your image to analyze emotion and respond accordingly.

API Endpoints

  • POST /api/process - Process user query with emotion detection
  • GET /api/health - Health check

About

An Program which tunes the responses of an AI Model based on the emotion of a person

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors