Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -1,14 +1,42 @@
|
|
| 1 |
---
|
| 2 |
-
title:
|
| 3 |
-
emoji:
|
| 4 |
-
colorFrom:
|
| 5 |
-
colorTo:
|
| 6 |
sdk: gradio
|
| 7 |
-
sdk_version:
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
-
license: mit
|
| 11 |
-
short_description: paste text and translate it or tts
|
| 12 |
---
|
| 13 |
|
| 14 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
---
|
| 2 |
+
title: LinguaCast
|
| 3 |
+
emoji: π
|
| 4 |
+
colorFrom: blue
|
| 5 |
+
colorTo: purple
|
| 6 |
sdk: gradio
|
| 7 |
+
sdk_version: "4.38.1"
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
|
|
|
|
|
|
| 10 |
---
|
| 11 |
|
| 12 |
+
# π LinguaCast
|
| 13 |
+
|
| 14 |
+
**LinguaCast** is an AI-powered multilingual translator that lets you **type or speak text**, automatically detects the source language, translates it into your chosen language, and even **reads it aloud** with speech output.
|
| 15 |
+
|
| 16 |
+
---
|
| 17 |
+
|
| 18 |
+
## π Features
|
| 19 |
+
- π **Automatic Language Detection** β Detects the language you type in.
|
| 20 |
+
- π **Instant Translation** β Translate into multiple languages with Hugging Face models.
|
| 21 |
+
- π **Speech Output (TTS)** β Optionally listen to your translated text.
|
| 22 |
+
- π₯οΈ **User-Friendly Interface** β Powered by [Gradio](https://gradio.app).
|
| 23 |
+
- βοΈ **Deployable Anywhere** β Works locally or on Hugging Face Spaces.
|
| 24 |
+
|
| 25 |
+
---
|
| 26 |
+
|
| 27 |
+
## π οΈ Tech Stack
|
| 28 |
+
- **Transformers** β `Helsinki-NLP/opus-mt-mul-en` for multilingual translation
|
| 29 |
+
- **LangDetect** β For automatic language detection
|
| 30 |
+
- **gTTS (Google Text-to-Speech)** β For generating audio output
|
| 31 |
+
- **Gradio** β Interactive UI for seamless usage
|
| 32 |
+
|
| 33 |
+
---
|
| 34 |
+
|
| 35 |
+
## π¦ Installation
|
| 36 |
+
|
| 37 |
+
Clone the repo and install dependencies:
|
| 38 |
+
|
| 39 |
+
```bash
|
| 40 |
+
git clone https://github.com/your-username/linguacast.git
|
| 41 |
+
cd linguacast
|
| 42 |
+
pip install -r requirements.txt
|