diff --git a/packages/transcription-devtools/src/benchmark.ts b/packages/transcription-devtools/src/benchmark.ts index 13f3bb6c4..0f957a0a7 100644 --- a/packages/transcription-devtools/src/benchmark.ts +++ b/packages/transcription-devtools/src/benchmark.ts @@ -59,7 +59,7 @@ const formatBenchmarkResult = ({ WER, CER, duration, engine, model }: Partial { const logger = createLogger() - logger.add(new transports.Console({ format: format.printf(log => log.message) })) + logger.add(new transports.Console({ format: format.printf(log => log.message as string) })) const transcribers: TranscriptionEngineName[] = [ 'openai-whisper', 'whisper-ctranslate2' ] const models = process.env.MODELS