File size: 433 Bytes
ea65479
55953fe
69858cf
 
6eba034
69858cf
 
 
 
1
2
3
4
5
6
7
8
9
import gradio as gr

gr.Interface.load("huggingface/facebook/fastspeech2-en-ljspeech", 
                  description="TTS using FastSpeech2",
                  outputs = 'audio',
                  title="Text to Speech (TTS)",
                  examples=[["The quick brown fox jumps over the lazy dog."]],
                  article = "Author: <a href=\"https://huggingface.co/rowel\">Rowel Atienza</a>",
                  ).launch()