AI assistant that reads your facial expressions and adjusts responses accordingly.
- Python, Flask, OpenCV, Groq API
- React, Vite, Tailwind CSS
- Llama vision model + OpenAI text model
- SQLite
- Clone and navigate:
git clone 'https://github.com/mohsin-nasir/MoodSense.git'
cd MoodSense- Install dependencies:
pip install -r requirements.txt- Add your Groq API key to
.env:
API_KEY=your_groq_api_key_here- Run:
python app.pyOpen http://localhost:5000
Type your question, and the app captures your image to analyze emotion and respond accordingly.
POST /api/process- Process user query with emotion detectionGET /api/health- Health check