dvislobokov commited on
Commit
882e6d2
·
verified ·
1 Parent(s): 81cfab7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -11,7 +11,7 @@ pipe = pipeline(
11
 
12
  def transcribe(audio):
13
  start = time.time()
14
- text = pipe(audio)['text']
15
  print(time.time() - start)
16
  return text
17
 
 
11
 
12
  def transcribe(audio):
13
  start = time.time()
14
+ text = pipe(audio, return_timestamps=True)['text']
15
  print(time.time() - start)
16
  return text
17