Grosy commited on
Commit
9e42fc0
·
verified ·
1 Parent(s): f511602

added timestamps info to the pipeline

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -68,6 +68,7 @@ pipe = pipeline(
68
  task="automatic-speech-recognition",
69
  model=model_name,
70
  chunk_length_s=10,
 
71
  device="cpu",
72
  )
73
 
 
68
  task="automatic-speech-recognition",
69
  model=model_name,
70
  chunk_length_s=10,
71
+ return_timestamps='word',
72
  device="cpu",
73
  )
74