thianfoo commited on
Commit
f645855
·
verified ·
1 Parent(s): 70eca3e

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -97,7 +97,7 @@ demo = gr.Blocks()
97
  # Audio translation using microphone as the input
98
  audio_translate = gr.Interface(
99
  fn=speech_to_speech_translation,
100
- inputs=gr.Audio(source="microphone", type="filepath")],
101
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
102
  examples=[["./english.wav"], ["./chinese.wav"]],
103
  title=title,
 
97
  # Audio translation using microphone as the input
98
  audio_translate = gr.Interface(
99
  fn=speech_to_speech_translation,
100
+ inputs=gr.Audio(source="microphone", type="filepath"),
101
  outputs=gr.Audio(label="Generated Speech", type="numpy"),
102
  examples=[["./english.wav"], ["./chinese.wav"]],
103
  title=title,