Yassmen commited on
Commit
ccc96eb
·
verified ·
1 Parent(s): 69c8d78

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -97,9 +97,8 @@ def generate_wav_file(text):
97
  iface = gr.Interface(
98
  fn=generate_wav_file,
99
  inputs=gr.Textbox(lines=3, label="Enter text to convert to speech"),
100
- outputs= 'audio',
101
  title="Text-to-Speech Technical EN"
102
  )
103
  if __name__ == "__main__":
104
  iface.launch()
105
- #gr.Audio(type="filepath", label="Generated Audio")
 
97
  iface = gr.Interface(
98
  fn=generate_wav_file,
99
  inputs=gr.Textbox(lines=3, label="Enter text to convert to speech"),
100
+ outputs= gr.Audio(type="filepath", label="Generated Audio"),
101
  title="Text-to-Speech Technical EN"
102
  )
103
  if __name__ == "__main__":
104
  iface.launch()