Add whisper text formatter
This commit is contained in:
parent
4c604d27fc
commit
a05ddfe887
@ -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.")
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user