diff --git a/chapters/en/chapter5/demo.mdx b/chapters/en/chapter5/demo.mdx index 869c94a5..7bb53c55 100644 --- a/chapters/en/chapter5/demo.mdx +++ b/chapters/en/chapter5/demo.mdx @@ -46,13 +46,13 @@ demo = gr.Blocks() mic_transcribe = gr.Interface( fn=transcribe_speech, - inputs=gr.Audio(source="microphone", type="filepath"), + inputs=gr.Audio(sources="microphone", type="filepath"), outputs=gr.outputs.Textbox(), ) file_transcribe = gr.Interface( fn=transcribe_speech, - inputs=gr.Audio(source="upload", type="filepath"), + inputs=gr.Audio(sources="upload", type="filepath"), outputs=gr.outputs.Textbox(), ) ```