ysharma HF staff commited on
Commit
b051f56
1 Parent(s): 4387840
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -7,9 +7,9 @@ def text2speech(text):
7
 
8
 
9
  app = gr.Interface(fn=text2speech,
10
- inputs="text",
11
  live=True,
12
- description="Takes a snapshot of an object, identifies it, and then tell you what it is. \n Intended use is to help the visually impaired. Models and dataset used is listed on the linked models and dataset",
13
  outputs=gr.outputs.Audio(type="file", label="Speech Answer"),
14
  examples=["remotecontrol.jpg", "calculator.jpg", "cellphone.jpg"])
15
 
 
7
 
8
 
9
  app = gr.Interface(fn=text2speech,
10
+ inputs=text,
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