Yassmen commited on
Commit
a976b8c
·
verified ·
1 Parent(s): e01a69a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ 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=gr.Audio(type="file", label="Generated Audio"),
101
  title="Text-to-Speech Technical EN"
102
  )
103
  if __name__ == "__main__":
 
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__":