diff --git a/whisper_live/server.py b/whisper_live/server.py index b668a6d..3c38d2a 100644 --- a/whisper_live/server.py +++ b/whisper_live/server.py @@ -1032,6 +1032,8 @@ def update_segments(self, segments, duration): """ offset = None self.current_out = '' + last_segment = None + # process complete segments if len(segments) > 1: for i, s in enumerate(segments[:-1]):