lampongyuen commited on
Commit
24298fa
·
1 Parent(s): c774331

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,6 +1,6 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
- p = pipeline("automatic-speech-recognition")
4
 
5
  def transcribe(audio):
6
  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"]