DirtyFock commited on
Commit
866c957
·
1 Parent(s): 74b68f7

Fix sources kwarg name

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,