Spaces:
Runtime error
Runtime error
Commit
·
e91d345
1
Parent(s):
a7fe776
fix timestamps
Browse files
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[
|
| 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 |
|