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

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -97,9 +97,9 @@ 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="filepath", label="Generated Audio"),
101
  title="Text-to-Speech Technical EN"
102
  )
103
  if __name__ == "__main__":
104
  iface.launch()
105
-
 
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")