bofenghuang commited on
Commit
22f738a
·
1 Parent(s): 88c0c58
Files changed (1) hide show
  1. run_demo_multi_models.py +2 -2
run_demo_multi_models.py CHANGED
@@ -18,7 +18,7 @@ MODEL_NAMES = [
18
  "bofenghuang/whisper-large-v2-cv11-french",
19
  ]
20
  CHUNK_LENGTH_S = 30
21
- STRIDE_LENGTH_S = 0
22
  # MAX_NEW_TOKENS = 225
23
 
24
  logging.basicConfig(
@@ -56,7 +56,7 @@ def maybe_load_cached_pipeline(model_name):
56
  task="automatic-speech-recognition",
57
  model=model_name,
58
  chunk_length_s=CHUNK_LENGTH_S,
59
- stride_length_s=STRIDE_LENGTH_S,
60
  device=device,
61
  )
62
  # set forced_decoder_ids
 
18
  "bofenghuang/whisper-large-v2-cv11-french",
19
  ]
20
  CHUNK_LENGTH_S = 30
21
+ # STRIDE_LENGTH_S = 0
22
  # MAX_NEW_TOKENS = 225
23
 
24
  logging.basicConfig(
 
56
  task="automatic-speech-recognition",
57
  model=model_name,
58
  chunk_length_s=CHUNK_LENGTH_S,
59
+ # stride_length_s=STRIDE_LENGTH_S,
60
  device=device,
61
  )
62
  # set forced_decoder_ids