Abid Ali Awan commited on
Commit
9ef6b5c
·
1 Parent(s): 977590d

Adjust chunk and stride lengths in the transcription pipeline in app.py to optimize processing efficiency and improve transcription accuracy.

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -42,8 +42,8 @@ transcriber = pipeline(
42
  tokenizer=processor.tokenizer,
43
  feature_extractor=processor.feature_extractor,
44
  device=-1, # CPU
45
- chunk_length_s=60,
46
- stride_length_s=(5, 15),
47
  )
48
 
49
 
 
42
  tokenizer=processor.tokenizer,
43
  feature_extractor=processor.feature_extractor,
44
  device=-1, # CPU
45
+ chunk_length_s=20,
46
+ stride_length_s=(5, 5),
47
  )
48
 
49