--- title: Smart Text Toolbox emoji: 🧰 colorFrom: indigo colorTo: green sdk: gradio app_file: app.py pinned: false --- # Smart Text Toolbox ## Overview A CPU-friendly, education-focused NLP toolbox built with Gradio and 🤗 Transformers. It bundles four common text tasks into a single, simple interface: - **Language Detection** (auto-detects top-3 languages) - **Summarization** (with adjustable compression ratio) - **Keyword Extraction** (YAKE-based, with language hint) - **Sentiment Analysis** (with emoji feedback) ## Why this project? A clean, student-friendly example that demonstrates multiple NLP tasks without GPU dependencies. Perfect for learning and sharing safe, reproducible demos. ## How to Run Locally ```bash pip install -r requirements.txt python app.py ``` ## Acceptable Use This project is strictly for legitimate, non-harmful, and responsible AI use cases (education, research, prototyping). Do **not** use it to generate or support illegal, harmful, or unethical content. Please follow the model licenses and the Hugging Face Acceptable Use Policy.