Spaces:
Running
Running
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) | |