oyemade commited on
Commit
069bdc8
·
verified ·
1 Parent(s): 1503a0a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
- pipe = pipeline(model="oyemade/w2v-bert-2.0-yoruba-CV17.0")
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]
 
1
  from transformers import pipeline
2
  import gradio as gr
3
 
4
+ pipe = pipeline("automatic-speech-recognition", model="oyemade/w2v-bert-2.0-yoruba-CV17.0")
5
 
6
  def transcribe(audio):
7
  text = pipe(audio)["text"]