An AI-powered web application that analyzes text sentiment and emotions in real-time using Hugging Face's Transformers.
- Real-time text analysis as you type
- 28 emotional tones detection
- Confidence percentage visualization
- Responsive modern UI
- Error handling and loading states
- Backend: Python/Flask
- AI Model:
joeddav/distilbert-base-uncased-go-emotions-student
- Frontend: HTML5, CSS3, JavaScript
# Clone repository
git clone https://github.com/ahmad123m/tone-detector.git
# Install dependencies
pip install -r requirements.txt
# Run locally
python app.py
- Type or paste text into the input box
- Analysis appears automatically
- Tones are displayed with emojis and confidence percentages
tone-detector/
├── app.py
├── requirements.txt
├── Procfile
├── static/
│ ├── style.css
│ ├── app.js
│ └── favicon.ico
└── templates/
└── index.html
This project is licensed under the MIT License - see LICENSE file for details
- Hugging Face Transformers library
- Flask documentation
- Emoji data from Unicode Consortium