mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
Fix tuple unpacking
This commit is contained in:
@ -245,7 +245,7 @@ class FasterWhisperPipeline(Pipeline):
|
|||||||
text = text[0]
|
text = text[0]
|
||||||
segments.append(
|
segments.append(
|
||||||
{
|
{
|
||||||
"text": out['text'],
|
"text": text,
|
||||||
"start": round(vad_segments[idx]['start'], 3),
|
"start": round(vad_segments[idx]['start'], 3),
|
||||||
"end": round(vad_segments[idx]['end'], 3)
|
"end": round(vad_segments[idx]['end'], 3)
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user