File size: 326 Bytes
13ad026
 
 
 
 
 
 
70d523b
13ad026
acc1f6f
13ad026
52124ed
13ad026
 
34f8278
13ad026
 
6b3775a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
import gradio as gr

tts_examples = [
    "I love learning machine learning",
    "How do you do?",
]

tts_demo = gr.load(
    "huggingface/facebook/fastspeech2-en-ljspeech",
    title="Text-to-Spech",
    examples=tts_examples,
    theme="Soft",
)

demo = tts_demo

if __name__ == "__main__":
    demo.launch(show_api=False)