vladocar commited on
Commit
8b3ed52
·
1 Parent(s): 05b64e4

Create app.py

Browse files
Files changed (1) hide show
  1. app.py +17 -0
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
+ #################################################################