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