Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -39,7 +39,7 @@ bert_path = os.environ.get(
|
|
39 |
"bert_path", "pretrained_models/chinese-roberta-wwm-ext-large"
|
40 |
)
|
41 |
|
42 |
-
MODEL_NAME =
|
43 |
pipe = pipeline(
|
44 |
task="automatic-speech-recognition",
|
45 |
model=MODEL_NAME,
|
|
|
39 |
"bert_path", "pretrained_models/chinese-roberta-wwm-ext-large"
|
40 |
)
|
41 |
|
42 |
+
MODEL_NAME = "openai/whisper-medium"
|
43 |
pipe = pipeline(
|
44 |
task="automatic-speech-recognition",
|
45 |
model=MODEL_NAME,
|