File size: 1,380 Bytes
c076cbb b72364a c076cbb | 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 | ---
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:
```bash
pip install -r requirements.txt
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|