ales commited on
Commit
1420613
1 Parent(s): ac996a8

set chunk_length_s=8, stride_length_s=(0,1)

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -12,8 +12,8 @@ device = 0 if torch.cuda.is_available() else "cpu"
12
  pipe = pipeline(
13
  task="automatic-speech-recognition",
14
  model=MODEL_NAME,
15
- chunk_length_s=20,
16
- stride_length_s=(0,2),
17
  device=device,
18
  )
19
 
 
12
  pipe = pipeline(
13
  task="automatic-speech-recognition",
14
  model=MODEL_NAME,
15
+ chunk_length_s=8,
16
+ stride_length_s=(0,1),
17
  device=device,
18
  )
19