aar2dee2 commited on
Commit
e832ae5
·
1 Parent(s): 3e9b592

fix audio output type

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -143,7 +143,7 @@ description = "Darth Vader resurrected with all the knowledge of humanity"
143
  mic_translate = gr.Interface(
144
  fn=main,
145
  inputs=gr.Audio(source="microphone", format="wav"),
146
- outputs=gr.Audio(label="Generated Speech", format="wav"),
147
  title=title,
148
  description=description,
149
  )
 
143
  mic_translate = gr.Interface(
144
  fn=main,
145
  inputs=gr.Audio(source="microphone", format="wav"),
146
+ outputs=gr.Audio(label="Generated Speech", type="numpy"),
147
  title=title,
148
  description=description,
149
  )