Skip to content

Commit 8d483c4

Browse files
committed
[ci skip] whoops, the offsets were in ms
1 parent adfb6ab commit 8d483c4

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

batchalign/pipelines/asr/tencent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,8 +106,8 @@ def generate(self, f, **kwargs):
106106
for j in i.Words:
107107
turn.append({
108108
"type": "text",
109-
"ts": j.OffsetStartMs+start,
110-
"end_ts": j.OffsetEndMs+start,
109+
"ts": (j.OffsetStartMs+start)/1000,
110+
"end_ts": (j.OffsetEndMs+start)/1000,
111111
"value": j.Word
112112
})
113113
turns.append({

batchalign/version

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
0.7.17-post.14
1+
0.7.17-post.15
22
March 26th, 2025
33
better coref model

0 commit comments

Comments
 (0)