JackismyShephard commited on
Commit
91325a6
·
1 Parent(s): 77862e1

use fast tokenizer for whisper

Browse files
Files changed (1) hide show
  1. app.py +1 -0
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