From 416cce2e8cfc3c440501770c941ec43d1bca1b75 Mon Sep 17 00:00:00 2001 From: DAME RAJEE <122996026+dame-cell@users.noreply.github.com> Date: Sat, 4 Nov 2023 14:07:13 +0000 Subject: [PATCH] Corrected source to sources in the code for the file_transcribe interface. --- chapters/en/chapter5/demo.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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(), ) ```