mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
Fixed the word_start variable not initialized bug.
This commit is contained in:
@ -439,8 +439,8 @@ def align(
|
|||||||
word_list.append(
|
word_list.append(
|
||||||
{
|
{
|
||||||
"word": curr_text.rstrip(),
|
"word": curr_text.rstrip(),
|
||||||
"start": word_start,
|
"start": wseg.iloc[wdx]['start'],
|
||||||
"end": word_end,
|
"end": wseg.iloc[wdx]['end'],
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user