From a05ddfe887e31ef51eee2f8f0ef3276fe674bd3c Mon Sep 17 00:00:00 2001 From: Beingpax Date: Sun, 29 Jun 2025 12:07:28 +0545 Subject: [PATCH] Add whisper text formatter --- VoiceInk/Services/LocalTranscriptionService.swift | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/VoiceInk/Services/LocalTranscriptionService.swift b/VoiceInk/Services/LocalTranscriptionService.swift index 9dde34b..64eecf7 100644 --- a/VoiceInk/Services/LocalTranscriptionService.swift +++ b/VoiceInk/Services/LocalTranscriptionService.swift @@ -63,7 +63,9 @@ class LocalTranscriptionService: TranscriptionService { // Transcribe await whisperContext.fullTranscribe(samples: data) - let text = await whisperContext.getTranscription() + var text = await whisperContext.getTranscription() + + text = WhisperTextFormatter.format(text) logger.notice("✅ Local transcription completed successfully.")