Skip to content

Commit

Permalink
fixed #241
Browse files Browse the repository at this point in the history
  • Loading branch information
jianfch committed Nov 4, 2023
1 parent 3dfbd72 commit 5c512a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stable_whisper/result.py
Original file line number Diff line number Diff line change
Expand Up @@ -867,7 +867,7 @@ def _split_segments(self, get_indices, args: list = None, *, lock: bool = False)
args = []
no_words = False
for i in reversed(range(0, len(self.segments))):
no_words = not self.segments[i].has_words
no_words = no_words or not self.segments[i].has_words
indices = get_indices(self.segments[i], *args)
if indices:
new_segments = self.segments[i].split(indices)
Expand Down

0 comments on commit 5c512a1

Please sign in to comment.