sfedar commited on
Commit
b511bc4
·
verified ·
1 Parent(s): fad02fc

Correct the second Audio 'sources' argument

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -59,7 +59,7 @@ mic_translate = gr.Interface(
59
 
60
  file_translate = gr.Interface(
61
  fn=speech_to_speech_translation,
62
- inputs=gr.Audio(source="upload", type="filepath"),
63
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
64
  examples=[["./example.wav"]],
65
  title=title,
 
59
 
60
  file_translate = gr.Interface(
61
  fn=speech_to_speech_translation,
62
+ inputs=gr.Audio(sources="upload", type="filepath"),
63
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
64
  examples=[["./example.wav"]],
65
  title=title,