eloi-goncalves commited on
Commit
4ca77dc
1 Parent(s): 1022cd4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -2,7 +2,7 @@ import gradio as gr
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
- transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-large-v2")
6
 
7
  transcriber.model.config.forced_decoder_ids = (
8
  transcriber.tokenizer.get_decoder_prompt_ids(
 
2
  from transformers import pipeline
3
  import numpy as np
4
 
5
+ transcriber = pipeline("automatic-speech-recognition", model="openai/whisper-medium")
6
 
7
  transcriber.model.config.forced_decoder_ids = (
8
  transcriber.tokenizer.get_decoder_prompt_ids(