Spaces:
Runtime error
Runtime error
Update README.md
Browse files
README.md
CHANGED
|
@@ -8,5 +8,42 @@ sdk_version: 5.42.0
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 11 |
|
| 12 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|
|
|
|
| 8 |
app_file: app.py
|
| 9 |
pinned: false
|
| 10 |
---
|
| 11 |
+
# π¬ AI Video Dubber
|
| 12 |
+
|
| 13 |
+
AI-powered app to **dub English videos into multiple languages** with synchronized speech and subtitles.
|
| 14 |
+
|
| 15 |
+
## β¨ Features
|
| 16 |
+
- Upload any English video.
|
| 17 |
+
- Choose a target language and voice gender.
|
| 18 |
+
- Translates speech using **OpenAI GPT**.
|
| 19 |
+
- Generates natural-sounding speech with **Azure Neural TTS**.
|
| 20 |
+
- Produces **synced subtitles** in `.srt` format.
|
| 21 |
+
- Works with multiple languages:
|
| 22 |
+
- Japanese
|
| 23 |
+
- Italian
|
| 24 |
+
- French
|
| 25 |
+
- German
|
| 26 |
+
- Dutch
|
| 27 |
+
- Swedish
|
| 28 |
+
- Spanish
|
| 29 |
+
- Polish
|
| 30 |
+
- Arabic
|
| 31 |
+
|
| 32 |
+
## π How It Works
|
| 33 |
+
1. **Upload video** β Extract audio.
|
| 34 |
+
2. **Transcribe** β Using OpenAI Whisper.
|
| 35 |
+
3. **Translate** β Using GPT-4o-mini.
|
| 36 |
+
4. **Synthesize voice** β Using Azure Neural TTS.
|
| 37 |
+
5. **Merge audio + video** β Output dubbed video.
|
| 38 |
+
6. **Generate subtitles** β `.srt` file.
|
| 39 |
+
|
| 40 |
+
## π Requirements
|
| 41 |
+
- Hugging Face Space with **Gradio** and Python.
|
| 42 |
+
- API Keys:
|
| 43 |
+
- `OPENAI_API_KEY`
|
| 44 |
+
- `AZURE_KEY`
|
| 45 |
+
- `AZURE_REGION`
|
| 46 |
+
|
| 47 |
+
|
| 48 |
|
| 49 |
Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference
|