Spaces:
Sleeping
Sleeping
eloi-goncalves
commited on
Commit
•
1022cd4
1
Parent(s):
a439774
Update app.py
Browse files
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-
|
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-large-v2")
|
6 |
|
7 |
transcriber.model.config.forced_decoder_ids = (
|
8 |
transcriber.tokenizer.get_decoder_prompt_ids(
|