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
Download processor_config.json from RetentionLabs/EmoTra-TTS: direct link, hf CLI and curl.
- Browser
- Download file 493 Bytes
-
https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/processor_config.json
- Command line
-
hf download hf://RetentionLabs/EmoTra-TTS/processor_config.json
-
curl -L -o processor_config.json https://huggingface.co/RetentionLabs/EmoTra-TTS/resolve/main/processor_config.json
493 Bytes
| { | |
| "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" | |
| } | |
| } | |