Text-to-Speech / app.py
vladocar's picture
Update app.py
785faa9
raw
history blame
487 Bytes
import gradio as gr
#################################################################
#1: Text to Speech
#import gradio as gr
title = "Text to Speech Translation"
tts_examples = [
"I love learning machine learning",
"How do you do?",
]
tts_demo = gr.Interface.load(
"huggingface/facebook/fastspeech2-en-ljspeech",
title = title,
examples=tts_examples,
description="Give me something to say!",
)
#################################################################