Spaces:
Sleeping
Sleeping
| title: Emoti Voice AI | |
| emoji: π¬ | |
| colorFrom: yellow | |
| colorTo: purple | |
| sdk: gradio | |
| sdk_version: 5.0.1 | |
| app_file: app.py | |
| pinned: false | |
| # π€ Advanced OpenAI Text-to-Speech Generator | |
| Convert text to natural-sounding speech with emotion detection and multi-language support. This application uses advanced AI techniques to detect emotions in text and adjusts speech parameters accordingly. | |
| ## Features | |
| - π **Emotion Detection**: Automatically detects emotions in text | |
| - π **Emoji Responses**: Visual emotion indicators | |
| - π **Multi-language Support**: Auto-translation to English | |
| - οΏ½ **Dynamic Speed Adjustment**: Emotion-based speed tuning | |
| - ποΈ **Voice Selection**: Multiple voice styles | |
| - π **Secure**: API keys are not stored | |
| ## How to Use | |
| 1. Get your [OpenAI API key](https://platform.openai.com/account/api-keys) | |
| 2. Enter text in any language | |
| 3. Adjust settings (voice, speed, emotion intensity) | |
| 4. Click "Generate Speech" | |
| 5. Play/download the generated audio | |
| ## Technical Details | |
| - **Emotion Model**: `j-hartmann/emotion-english-distilroberta-base` | |
| - **Translation**: Google Translate API | |
| - **TTS Engine**: OpenAI's `tts-1` model | |
| - **UI Framework**: Gradio | |
| ## Limitations | |
| - Requires OpenAI API credits | |
| - Max 4096 characters per request | |
| - Translation accuracy varies by language | |
| [](https://huggingface.co/spaces) | |
| An example chatbot using [Gradio](https://gradio.app), [`huggingface_hub`](https://huggingface.co/docs/huggingface_hub/v0.22.2/en/index), and the [Hugging Face Inference API](https://huggingface.co/docs/api-inference/index). |