ysharma HF staff commited on
Commit
ffd211a
1 Parent(s): b051f56
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -7,7 +7,7 @@ def text2speech(text):
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"),
 
7
 
8
 
9
  app = gr.Interface(fn=text2speech,
10
+ inputs=gr.inputs.Textbox(lines=5, label="Input 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"),