sanchit-gandhi HF staff commited on
Commit
e91d345
1 Parent(s): a7fe776

fix timestamps

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -35,7 +35,7 @@ def inference(inputs, task, return_timestamps):
35
  text = data["detail"]
36
 
37
  if return_timestamps:
38
- timestamps = data[0]["chunks"]
39
  else:
40
  timestamps = None
41
 
 
35
  text = data["detail"]
36
 
37
  if return_timestamps:
38
+ timestamps = data["chunks"]
39
  else:
40
  timestamps = None
41