diff --git a/stable_whisper/result.py b/stable_whisper/result.py index 1226053..8d688df 100644 --- a/stable_whisper/result.py +++ b/stable_whisper/result.py @@ -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)