ysharma HF staff commited on
Commit
4a5727c
1 Parent(s): ffd211a
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -11,9 +11,12 @@ app = gr.Interface(fn=text2speech,
11
  live=True,
12
  description="Takes a text and reads it out to you.",
13
  outputs=gr.outputs.Audio(type="file", label="Speech Answer"),
14
- examples=["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"])
15
 
16
 
 
 
 
17
  #def greet(name):
18
  # return "Hello " + name + "!!"
19
 
 
11
  live=True,
12
  description="Takes a text and reads it out to you.",
13
  outputs=gr.outputs.Audio(type="file", label="Speech Answer"),
14
+ examples=["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"]).launch(debug=True)
15
 
16
 
17
+ #get_audio = gr.Button("generate audio")
18
+ #get_audio.click(text2speech, inputs=text, outputs=speech)
19
+
20
  #def greet(name):
21
  # return "Hello " + name + "!!"
22