Install info
https://huggingface.co/neuphonic/neutts-air
Example
from neuttsair.neutts import NeuTTSAir
import soundfile as sf
tts = NeuTTSAir(backbone_repo="jaeyong2/neutts-air-es-preview", backbone_device="cpu", codec_repo="neuphonic/neucodec", codec_device="cpu")
input_text = "Porque de tal manera amó Dios al mundo, que dio a su Hijo unigénito, para que todo aquel que en él cree no se pierda, sino que tenga vida eterna."
ref_text = "train_000.txt"
ref_audio_path = "train_000.wav"
ref_text = open(ref_text, "r").read().strip()
ref_codes = tts.encode_reference(ref_audio_path)
wav = tts.infer(input_text, ref_codes, ref_text)
sf.write("new.wav", wav, 24000)
ref_audio (GianDiego/latam-spanish-speech-orpheus-tts-24khz)
jaeyong2/neutts-air-es result
neuphonic/neutts-air result
License
- neuphonic/neutts-air : https://choosealicense.com/licenses/apache-2.0/
Acknowledgement
This research is supported by TPU Research Cloud program.
- Downloads last month
- 6
Model tree for jaeyong2/neutts-air-es-preview
Base model
neuphonic/neutts-air