Spaces:
Build error
Build error
Commit
·
91325a6
1
Parent(s):
77862e1
use fast tokenizer for whisper
Browse files
app.py
CHANGED
|
@@ -14,6 +14,7 @@ asr_pipe = pipeline(
|
|
| 14 |
"automatic-speech-recognition",
|
| 15 |
model="openai/whisper-base",
|
| 16 |
device=device,
|
|
|
|
| 17 |
)
|
| 18 |
|
| 19 |
# load text-to-speech checkpoint and speaker embeddings
|
|
|
|
| 14 |
"automatic-speech-recognition",
|
| 15 |
model="openai/whisper-base",
|
| 16 |
device=device,
|
| 17 |
+
use_fast=True,
|
| 18 |
)
|
| 19 |
|
| 20 |
# load text-to-speech checkpoint and speaker embeddings
|