lampongyuen commited on
Commit
aa6a233
·
1 Parent(s): 1dbebc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -1,7 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
- p = pipeline("automatic-speech-recognition")
4
-
5
 
6
  def transcribe(audio):
7
  text = p(audio)["text"]
 
1
  import gradio as gr
2
  from transformers import pipeline
3
+ p = pipeline("automatic-speech-recognition", model="facebook/wav2vec2-base-960h")
 
4
 
5
  def transcribe(audio):
6
  text = p(audio)["text"]