mirror of
https://github.com/m-bain/whisperX.git
synced 2025-07-01 18:17:27 -04:00
Merge pull request #554 from sorgfresser/fix-binarize-unbound
fix unboundlocalerror
This commit is contained in:
@ -142,6 +142,7 @@ class Binarize:
|
||||
is_active = k_scores[0] > self.onset
|
||||
curr_scores = [k_scores[0]]
|
||||
curr_timestamps = [start]
|
||||
t = start
|
||||
for t, y in zip(timestamps[1:], k_scores[1:]):
|
||||
# currently active
|
||||
if is_active:
|
||||
|
Reference in New Issue
Block a user