File size: 494 Bytes
fba2ed9
 
 
 
 
 
6690a61
 
 
 
fba2ed9
 
1
2
3
4
5
6
7
8
9
10
11
12
import gradio as gr
description = "fastspeech2-en-ljspeech demo."
title = "Facebook's Text To Speech Model"
interface = gr.Interface.load("huggingface/facebook/fastspeech2-en-ljspeech", 
            description=description,
            title = title,
            examples=[["Peter Piper picked a peck of pickled peppers
A peck of pickled peppers Peter Piper picked
If Peter Piper picked a peck of pickled peppers
Where’s the peck of pickled peppers Peter Piper picked?"]]
)
interface.launch()