Text-to-Speech
Fairseq
English
audio
multi-speaker
Files changed (1) hide show
  1. README.md +5 -0
README.md CHANGED
@@ -68,4 +68,9 @@ See also [fairseq S^2 example](https://github.com/pytorch/fairseq/blob/main/exam
68
  doi = "10.18653/v1/2021.emnlp-demo.17",
69
  pages = "143--152",
70
  }
 
 
 
 
 
71
  ```
 
68
  doi = "10.18653/v1/2021.emnlp-demo.17",
69
  pages = "143--152",
70
  }
71
+ from espnet2.bin.tts_inference import Text2Speech
72
+
73
+ model = Text2Speech.from_pretrained("espnet/kan-bayashi_ljspeech_vits")
74
+
75
+ speech, *_ = model("text to generate speech from", alpha=0.8)
76
  ```