File size: 1,028 Bytes
ee0f664
daf618b
 
 
 
 
 
ee0f664
daf618b
 
ee0f664
 
daf618b
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43

---
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 πŸ€—