Spaces:
Sleeping
Sleeping
A newer version of the Gradio SDK is available: 6.22.0
metadata
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
- Get your OpenAI API key
- Enter text in any language
- Adjust settings (voice, speed, emotion intensity)
- Click "Generate Speech"
- Play/download the generated audio
Technical Details
- Emotion Model:
j-hartmann/emotion-english-distilroberta-base - Translation: Google Translate API
- TTS Engine: OpenAI's
tts-1model - UI Framework: Gradio
Limitations
- Requires OpenAI API credits
- Max 4096 characters per request
- Translation accuracy varies by language
An example chatbot using Gradio, huggingface_hub, and the Hugging Face Inference API.