--- title: Emotion Classifier emoji: 🎭 colorFrom: blue colorTo: purple sdk: gradio sdk_version: 5.49.0 app_file: app.py pinned: false license: mit short_description: Emotion classifier by DistilBERT. --- # Emotion Classification App This is a Gradio web app for classifying emotions in text using the `S-4-G-4-R/distilbert-base-uncased-finetuned-emotion` model. ## Features - 📝 Analyze text for emotional content - 📊 Interactive visualization of emotion probabilities - 💡 Example texts to try - 🎨 User-friendly interface ## Model The app uses a fine-tuned DistilBERT model specifically trained for emotion classification. ## Usage Simply enter any text and click "Classify Emotion" to see the emotional analysis with probability scores for different emotions. ## Examples Try these sample texts: - "I was feeling very alone today walking down on road" - "I am so happy and excited about this new opportunity!" - "This makes me really angry and frustrated." --- Built with Gradio and Transformers 🤗