Spaces:
Runtime error
Runtime error
| title: AI Video Dubber | |
| emoji: π | |
| colorFrom: red | |
| colorTo: green | |
| sdk: gradio | |
| sdk_version: 5.42.0 | |
| app_file: app.py | |
| pinned: false | |
| # π¬ AI Video Dubber | |
| AI-powered app to **dub English videos into multiple languages** with synchronized speech and subtitles. | |
| ## β¨ Features | |
| - Upload any English video. | |
| - Choose a target language and voice gender. | |
| - Translates speech using **OpenAI GPT**. | |
| - Generates natural-sounding speech with **Azure Neural TTS**. | |
| - Produces **synced subtitles** in `.srt` format. | |
| - Works with multiple languages: | |
| - Japanese | |
| - Italian | |
| - French | |
| - German | |
| - Dutch | |
| - Swedish | |
| - Spanish | |
| - Polish | |
| - Arabic | |
| ## π How It Works | |
| 1. **Upload video** β Extract audio. | |
| 2. **Transcribe** β Using OpenAI Whisper. | |
| 3. **Translate** β Using GPT-4o-mini. | |
| 4. **Synthesize voice** β Using Azure Neural TTS. | |
| 5. **Merge audio + video** β Output dubbed video. | |
| 6. **Generate subtitles** β `.srt` file. | |
| ## π Requirements | |
| - Hugging Face Space with **Gradio** and Python. | |
| - API Keys: | |
| - `OPENAI_API_KEY` | |
| - `AZURE_KEY` | |
| - `AZURE_REGION` | |
| Check out the configuration reference at https://huggingface.co/docs/hub/spaces-config-reference | |