Text-to-Speech
Transformers
Safetensors
English
emotra_tts
feature-extraction
emotional-tts
emotion-transition
cosyvoice2
emotra-tts
custom_code
Instructions to use RetentionLabs/EmoTra-TTS with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Transformers
How to use RetentionLabs/EmoTra-TTS with Transformers:
# Use a pipeline as a high-level helper from transformers import pipeline pipe = pipeline("text-to-speech", model="RetentionLabs/EmoTra-TTS", trust_remote_code=True)# pip install -U transformers accelerate # Load model directly from transformers import AutoModel model = AutoModel.from_pretrained("RetentionLabs/EmoTra-TTS", trust_remote_code=True, device_map="auto") - Notebooks
- Google Colab
- Kaggle
File size: 493 Bytes
45b5d4f | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | {
"processor_class": "EmoTraTTSProcessor",
"feature_extractor": {
"feature_size": 80,
"sampling_rate": 24000,
"padding_value": 0.0,
"padding_side": "right",
"return_attention_mask": true,
"mel_sampling_rate": 24000,
"n_fft": 1920,
"hop_length": 480,
"win_length": 1920,
"fmin": 0.0,
"fmax": 8000.0
},
"speech_token_mel_bins": 128,
"token_mel_ratio": 2,
"auto_map": {
"AutoProcessor": "processing_emotra_tts.EmoTraTTSProcessor"
}
}
|