S-4-G-4-R's picture
Rename Readme.md to README.md
965829e verified

A newer version of the Gradio SDK is available: 6.2.0

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