Khalida1w commited on
Commit
69858cf
·
1 Parent(s): 1c6da46

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +6 -6
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
-
3
- def greet(name):
4
- return "Hello " + name + "!!"
5
-
6
- iface = gr.Interface(fn=greet, inputs="text", outputs="text")
7
- iface.launch()
 
1
  import gradio as gr
2
+ gr.Interface.load("huggingface/facebook/fastspeech2-en-ljspeech",
3
+ description="TTS using FastSpeech2",
4
+ title="Text to Speech (TTS)",
5
+ examples=[["The quick brown fox jumps over the lazy dog."]],
6
+ article = "Author: <a href=\"https://huggingface.co/rowel\">Rowel Atienza</a>",
7
+ ).launch()