Dclxviclan / app.py
NonameSsSs's picture
Update app.py
d4cdbc2 verified
raw
history blame contribute delete
209 Bytes
from tts_inference.py import Text2Speech
model = Text2Speech.from_pretrained("julien-c/ljspeech_tts_train_tacotron2_raw_phn_tacotron_g2p_en_no_space_train")
speech, *_ = model("text to generate speech from")