File size: 1,096 Bytes
422c6f8
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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

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