Views
No views yet
Qwen/Qwen3-TTS-12Hz-1.7B-Base on the salt_lug_0001 voice
from Sunbird/tts.Qwen/Qwen3-TTS-12Hz-1.7B-Baselug), filtered to speaker_id == salt_lug_00011import torch
2import soundfile as sf
3from qwen_tts import Qwen3TTSModel
4
5tts = Qwen3TTSModel.from_pretrained(
6 "patrickcmd/qwen3-tts-salt-lug-0001",
7 device_map="cuda:0",
8 dtype=torch.bfloat16,
9 attn_implementation="flash_attention_2",
10)
11wavs, sr = tts.generate_custom_voice(
12 text="Oli otya?",
13 speaker="salt_lug_0001",
14)
15sf.write("out.wav", wavs[0], sr)salt_lug_0001); voice cloning to other speakers is not the goal of this finetune.