oyemade commited on
Commit
5386ce2
·
verified ·
1 Parent(s): 069bdc8

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +3 -3
app.py CHANGED
@@ -8,9 +8,9 @@ def transcribe(audio):
8
  return text
9
 
10
  iface = gr.Interface(
11
- fn=transcribe,
12
- inputs=gr.Audio(sources="microphone", type="filepath"),
13
- outputs="text",
14
  title="Neoform: Yoruba Speech Recognition",
15
  description="Realtime demo for Yoruba speech recognition using a fine-tuned Wav2Vec-Bert model.",
16
  )
 
8
  return text
9
 
10
  iface = gr.Interface(
11
+ transcribe,
12
+ gr.Audio(sources="microphone", type="filepath"),
13
+ "text",
14
  title="Neoform: Yoruba Speech Recognition",
15
  description="Realtime demo for Yoruba speech recognition using a fine-tuned Wav2Vec-Bert model.",
16
  )