π§ Emotion & Hate Speech Detector
This project is a demo of emotion classification and hate speech detection using Hugging Face Transformers, deployed with Gradio.
π Features
- Emotion detection (joy, sadness, anger, fear, etc.)
- Hate speech classification (HATE vs NON-HATE)
- Live web interface powered by Gradio
- Deployed version: Hugging Face Space
π οΈ Models Used
- Emotion:
bhadresh-savani/distilbert-base-uncased-emotion
- Hate Speech:
Hate-speech-CNERG/dehatebert-mono-english
π» Local Installation
git clone https://github.com/YourUsername/emotion-hate-detector.git
cd emotion-hate-detector
pip install -r requirements.txt
python app.py