Mihaj commited on
Commit
d02684d
·
verified ·
1 Parent(s): 7a94b37

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -39,7 +39,7 @@ def transcribe(diarise, processing, audio):
39
  if processing == "LM":
40
  res = pipe(y)
41
  else:
42
- res = pipe(y[start:end], chunk_length_s=10, stride_length_s=(4, 2))["text"]
43
  text = res["text"]
44
  return text
45
 
 
39
  if processing == "LM":
40
  res = pipe(y)
41
  else:
42
+ res = pipe(y, chunk_length_s=10, stride_length_s=(4, 2))
43
  text = res["text"]
44
  return text
45