diff --git a/whisperlivekit/simul_whisper/backend.py b/whisperlivekit/simul_whisper/backend.py index f6439b5..0b9a74a 100644 --- a/whisperlivekit/simul_whisper/backend.py +++ b/whisperlivekit/simul_whisper/backend.py @@ -77,7 +77,7 @@ class SimulStreamingOnlineProcessor: else: self.process_iter(is_last=True) #we want to totally process what remains in the buffer. self.model.refresh_segment(complete=True) - self.global_time_offset += silence_duration + offset + self.global_time_offset = silence_duration + offset