Spaces:
Sleeping
Sleeping
Update README.md
Browse files
README.md
CHANGED
|
@@ -10,5 +10,46 @@ pinned: false
|
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: text2speech+translate
|
| 12 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 10 |
license: apache-2.0
|
| 11 |
short_description: text2speech+translate
|
| 12 |
---
|
| 13 |
+
# ππ¬ Instant Translator & Text-to-Speech
|
| 14 |
+
[](https://huggingface.co/spaces/<your-space>)
|
| 15 |
+
[](https://gradio.app)
|
| 16 |
+
[](#models)
|
| 17 |
+
[](LICENSE)
|
| 18 |
|
| 19 |
+
---
|
| 20 |
+
|
| 21 |
+
## π What this Space does
|
| 22 |
+
Type a sentence in **English or Spanish**, pick the target language, click **Translate & Speak** β
|
| 23 |
+
and instantly hear the translated sentence spoken back to you.
|
| 24 |
+
Runs 100 % on **free CPU** hardware (no GPUs, no paid APIs).
|
| 25 |
+
|
| 26 |
+
---
|
| 27 |
+
|
| 28 |
+
## β¨ Why youβll love it
|
| 29 |
+
|
| 30 |
+
| β | Feature | Why it matters |
|
| 31 |
+
|----|---------|----------------|
|
| 32 |
+
| π | **Bidirectional translation** | English β Spanish with top-tier Opus-MT models. |
|
| 33 |
+
| π | **Natural speech** | Coqui TTS Tacotron2 voices for both languages. |
|
| 34 |
+
| β‘ | **Zero latency overhead** | < 1 s average translation+TTS on free Space CPU. |
|
| 35 |
+
| π±οΈ | **One-click UI** | Gradio Blocks layout; no install, no login needed. |
|
| 36 |
+
| πΈ | **Cost-free** | All models < 200 MB each; fits HF free-tier RAM & disk. |
|
| 37 |
+
| π§ | **Easily extensible** | Swap models to add new languages or voices in minutes. |
|
| 38 |
+
|
| 39 |
+
---
|
| 40 |
+
|
| 41 |
+
## πΌοΈ Live Demo
|
| 42 |
+
|
| 43 |
+
Open the Space – talk to it!
|
| 44 |
+
β‘ `https://<username>-translator-tts.hf.space`
|
| 45 |
+
|
| 46 |
+
---
|
| 47 |
+
|
| 48 |
+
## ποΈ Quick Start (Local Dev)
|
| 49 |
+
|
| 50 |
+
```bash
|
| 51 |
+
git clone https://github.com/<you>/translator-tts.git
|
| 52 |
+
cd translator-tts
|
| 53 |
+
python -m venv venv && source venv/bin/activate
|
| 54 |
+
pip install -r requirements.txt
|
| 55 |
+
python app.py
|