We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I used the below and it works really well. But is there any way to slow down or speed up the voice?
import torch import torchaudio from zonos.model import Zonos from zonos.conditioning import make_cond_dict from zonos.utils import DEFAULT_DEVICE as device model = Zonos.from_pretrained("Zyphra/Zonos-v0.1-transformer", device=device) wav, sampling_rate = torchaudio.load("assets/downloaded_audio.mp3") speaker = model.make_speaker_embedding(wav, sampling_rate) cond_dict = make_cond_dict(text="유튜브 쇼츠 더럽게 많들기 힘들다 이제 완성했다", speaker=speaker, language="ko") conditioning = model.prepare_conditioning(cond_dict) codes = model.generate(conditioning) wavs = model.autoencoder.decode(codes).cpu() torchaudio.save("sample.wav", wavs[0], model.autoencoder.sampling_rate)
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I used the below and it works really well.
But is there any way to slow down or speed up the voice?
The text was updated successfully, but these errors were encountered: