CineAI commited on
Commit
b1135ca
·
verified ·
1 Parent(s): ae05337

Update audio2text/init.py

Browse files
Files changed (1) hide show
  1. audio2text/init.py +2 -0
audio2text/init.py CHANGED
@@ -12,4 +12,6 @@ pipe = pipeline(
12
  "automatic-speech-recognition",
13
  model=checkpoint,
14
  device=device,
 
 
15
  )
 
12
  "automatic-speech-recognition",
13
  model=checkpoint,
14
  device=device,
15
+ chunk_length_s=10,
16
+ stride_length_s=(4, 2),
17
  )