File size: 1,500 Bytes
54e0967
 
 
 
 
 
 
 
 
 
 
 
 
 
5ad553a
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
---
title: AI Applications
emoji: πŸ“‰
colorFrom: gray
colorTo: red
sdk: gradio
sdk_version: 5.35.0
app_file: app.py
pinned: false
license: other
short_description: Multifunctional AI Language App
---

Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference

# 🧠 AI Language Toolkit

This Gradio-based application brings together three core NLP capabilities in one interactive interface:

## ✨ Features

πŸ”Ή **Sentiment Analysis**  
Detects the emotional tone of any sentence (positive, negative, or neutral) using a multilingual model.

πŸ”Ή **Text Summarization**  
Summarizes long passages into concise, clear summaries with a powerful transformer model.

πŸ”Ή **Text-to-Speech (TTS)**  
Converts English text into realistic speech using a neural voice model (Coqui TTS).

---

## πŸš€ How to Use

1. Select a tab based on the task:
   - **Sentiment Analysis** β†’ Enter a sentence to analyze its sentiment.
   - **Summarization** β†’ Paste a long text to get a short summary.
   - **Text-to-Speech** β†’ Type a sentence to hear it spoken aloud.

2. Click the corresponding button to get your result.

---

## πŸ› οΈ Technical Info

- Built with **Gradio**
- Models used:
  - `tabularisai/multilingual-sentiment-analysis` (Sentiment)
  - `facebook/bart-large-cnn` (Summarization)
  - `tts_models/en/ljspeech/tacotron2-DDC` (TTS)

---

## πŸ“¦ Requirements

This Space uses the following libraries:
```txt
transformers
gradio
TTS
torch
sentencepiece