ghostai1 commited on
Commit
e256393
Β·
verified Β·
1 Parent(s): 230065b

Update README.md

Browse files
Files changed (1) hide show
  1. README.md +42 -1
README.md CHANGED
@@ -10,5 +10,46 @@ pinned: false
10
  license: apache-2.0
11
  short_description: text2speech+translate
12
  ---
 
 
 
 
 
13
 
14
- Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
10
  license: apache-2.0
11
  short_description: text2speech+translate
12
  ---
13
+ # πŸŒπŸ’¬ Instant Translator & Text-to-Speech
14
+ [![HF Space](https://img.shields.io/badge/HuggingFace-Spaces-blue?logo=huggingface)](https://huggingface.co/spaces/<your-space>)
15
+ [![Gradio UI](https://img.shields.io/badge/Gradio-5.31-green?logo=gradio)](https://gradio.app)
16
+ [![Model Card](https://img.shields.io/badge/Models-Opus-MT%20%7C%20Coqui%20TTS-orange)](#models)
17
+ [![License](https://img.shields.io/github/license/<you>/translator-tts)](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 &ndash; 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