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

Update an argument name in Gardio.Audio

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -51,7 +51,7 @@ demo = gr.Blocks()
51
 
52
  mic_translate = gr.Interface(
53
  fn=speech_to_speech_translation,
54
- inputs=gr.Audio(source="microphone", type="filepath"),
55
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
56
  title=title,
57
  description=description,
 
51
 
52
  mic_translate = gr.Interface(
53
  fn=speech_to_speech_translation,
54
+ inputs=gr.Audio(sources="microphone", type="filepath"),
55
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
56
  title=title,
57
  description=description,