Spaces:
Sleeping
Sleeping
Commit
·
4ca77dc
1
Parent(s):
1022cd4
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-medium")
|
| 6 |
|
| 7 |
transcriber.model.config.forced_decoder_ids = (
|
| 8 |
transcriber.tokenizer.get_decoder_prompt_ids(
|