--- 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