Skip to content

πŸš€ Real-time sentiment classifier using Hugging Face Transformers & Gradio.

Notifications You must be signed in to change notification settings

paul-souvik3/RealTime_Text_Classifier_Gradio

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

πŸš€ Real-Time Text Sentiment Classifier with Gradio

A lightweight and powerful web app that classifies text as Positive or Negative using Hugging Face Transformers β€” built with Gradio and perfect for real-time use!


πŸ” About the Model

  • Pipeline: text-classification
  • Model: distilbert-base-uncased-finetuned-sst-2-english
  • Task: Binary Sentiment Classification (Positive / Negative)
  • Framework: Transformers by Hugging Face

πŸ’‘ App Features

  • Real-time sentiment prediction from user text
  • Lightweight, fast & responsive Gradio UI
  • Deployed via Hugging Face Spaces β€” public & demo-ready

πŸ“Œ Instructions for Users

This app is trained for binary classification: Positive and Negative
Neutral or mixed inputs may lean toward one side.
For best results, use clearly positive or negative sentences.

βœ… Example:

  • "I love the performance of this app!" β†’ Positive
  • "Terrible experience, not recommended." β†’ Negative

πŸš€ Live Demo

πŸ‘‰ Try it here: Hugging Face Space Link


πŸ“¦ Requirements

Install all required packages:

pip install -r requirements.txt

About

πŸš€ Real-time sentiment classifier using Hugging Face Transformers & Gradio.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages