Dua
Ampixa's fine-tune of OmniVoice (checkpoint dua-ft-v4, step 5000).
Zero-shot voice cloning, 24 kHz output.
pip install omnivoice
from omnivoice import OmniVoice
import soundfile as sf
import torch
model = OmniVoice.from_pretrained("ampixa/dua", device_map="cuda:0", dtype=torch.float16)
audio = model.generate(
text="เคจเคฎเคธเฅเคเคพเคฐ, เคฏเฅ เคเคเคเคพ เคชเคฐเฅเคเฅเคทเคฃ เคนเฅเฅค",
ref_audio="ref.wav",
ref_text="Transcription of the reference audio.",
)
sf.write("out.wav", audio[0], 24000)
License
CC-BY-NC 4.0, inherited from the OmniVoice pre-trained model. audio_tokenizer/ is under the Boson Higgs Audio 2
Community License (audio_tokenizer/LICENSE).
Do not use this model to clone a voice without the speaker's permission or to impersonate anyone.
- Downloads last month
- 26