ilokavat commited on
Commit
a11e1f7
·
verified ·
1 Parent(s): 95cebc5

Update app.py

Browse files

Use the fine-tuned whisper.

Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -1,7 +1,7 @@
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
- asr_pipeline = pipeline("automatic-speech-recognition", model="openai/whisper-small")
5
 
6
  def transcribe(audio):
7
  text = asr_pipeline(audio)["text"]
 
1
  import gradio as gr
2
  from transformers import pipeline
3
 
4
+ asr_pipeline = pipeline("automatic-speech-recognition", model="monadical-labs/whisper-medium.en")
5
 
6
  def transcribe(audio):
7
  text = asr_pipeline(audio)["text"]