Fix building tests

This commit is contained in:
Chocobozzz 2024-11-25 11:20:21 +01:00
parent b2a295a070
commit 6922bcce45
No known key found for this signature in database
GPG Key ID: 583A612D890159BE
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ const formatBenchmarkResult = ({ WER, CER, duration, engine, model }: Partial<Be
void (async () => {
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