Spaces:
Runtime error
Runtime error
Create app.py
Browse files
app.py
ADDED
@@ -0,0 +1,17 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#################################################################
|
2 |
+
#1: Text to Speech
|
3 |
+
#import gradio as gr
|
4 |
+
title = "Text to Speech Translation"
|
5 |
+
tts_examples = [
|
6 |
+
"I love learning machine learning",
|
7 |
+
"How do you do?",
|
8 |
+
]
|
9 |
+
tts_demo = gr.Interface.load(
|
10 |
+
"huggingface/facebook/fastspeech2-en-ljspeech",
|
11 |
+
title = title,
|
12 |
+
examples=tts_examples,
|
13 |
+
description="Give me something to say!",
|
14 |
+
)
|
15 |
+
|
16 |
+
|
17 |
+
#################################################################
|