PaulSouvik's picture
Update README.md
b72364a verified

A newer version of the Gradio SDK is available: 6.5.1

Upgrade
metadata
title: RealTime Text Classifier Gradio
emoji: πŸ“‰
colorFrom: yellow
colorTo: pink
sdk: gradio
sdk_version: 5.34.2
app_file: app.py
pinned: false
license: apache-2.0
short_description: πŸš€ Real-time sentiment classifier with Transformers & Gradio

Real-Time Text Sentiment Classifier πŸš€

This project is a real-time sentiment analysis app built using a pre-trained Hugging Face model and deployed with Gradio.

πŸ” About the Model

  • Pipeline: text-classification
  • Task: Binary Sentiment Classification (Positive / Negative)
  • Model: Pre-trained Transformer fine-tuned for sentiment analysis

🧠 Features

  • Detects sentiment (Positive/Negative) from text inputs.
  • Lightweight and fast β€” great for real-time feedback apps.
  • Clean UI built with Gradio for web-based interaction.

βš™οΈ Instructions for Users

This model is trained for binary sentiment classification β€” Positive and Negative only.
Neutral or mixed opinions may be interpreted as leaning toward one side.
For best results, input clearly positive or negative sentences.

Example:
βœ… "I love the features of this app!"
❌ "The app was okay, I guess."

πŸš€ How to Run Locally

Install dependencies:

pip install -r requirements.txt

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference