Add whisper text formatter

This commit is contained in:
Beingpax 2025-06-29 12:07:28 +05:45
parent 4c604d27fc
commit a05ddfe887

View File

@ -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.")