Instructions to use Praha-Labs/PrahaTTS-ML with libraries, inference providers, notebooks, and local apps. Follow these links to get started.
- Libraries
- Chatterbox
How to use Praha-Labs/PrahaTTS-ML with Chatterbox:
# pip install chatterbox-tts import torchaudio as ta from chatterbox.tts import ChatterboxTTS model = ChatterboxTTS.from_pretrained(device="cuda") text = "Ezreal and Jinx teamed up with Ahri, Yasuo, and Teemo to take down the enemy's Nexus in an epic late-game pentakill." wav = model.generate(text) ta.save("test-1.wav", wav, model.sr) # If you want to synthesize with a different voice, specify the audio prompt AUDIO_PROMPT_PATH="YOUR_FILE.wav" wav = model.generate(text, audio_prompt_path=AUDIO_PROMPT_PATH) ta.save("test-2.wav", wav, model.sr) - Notebooks
- Google Colab
- Kaggle
File size: 1,042 Bytes
4f93701 | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 | {
"alpha_pattern": {},
"auto_mapping": {
"base_model_class": "T3",
"parent_library": "src.chatterbox_.models.t3.t3"
},
"base_model_name_or_path": null,
"bias": "none",
"corda_config": null,
"eva_config": null,
"exclude_modules": null,
"fan_in_fan_out": false,
"inference_mode": true,
"init_lora_weights": true,
"layer_replication": null,
"layers_pattern": null,
"layers_to_transform": null,
"loftq_config": {},
"lora_alpha": 256,
"lora_bias": false,
"lora_dropout": 0.05,
"megatron_config": null,
"megatron_core": "megatron.core",
"modules_to_save": [
"text_emb",
"text_head"
],
"peft_type": "LORA",
"qalora_group_size": 16,
"r": 128,
"rank_pattern": {},
"revision": null,
"target_modules": [
"o_proj",
"down_proj",
"v_proj",
"k_proj",
"q_proj",
"gate_proj",
"up_proj",
"spkr_enc"
],
"target_parameters": null,
"task_type": null,
"trainable_token_indices": null,
"use_dora": false,
"use_qalora": false,
"use_rslora": false
} |