Fix transcription tests
This commit is contained in:
parent
8a0269f4eb
commit
d56be1ce34
|
@ -93,7 +93,7 @@ describe('Open AI Whisper transcriber', function () {
|
|||
})
|
||||
|
||||
it('May transcribe a media file in french', async function () {
|
||||
this.timeout(3 * 1000 * 60)
|
||||
this.timeout(5 * 1000 * 60)
|
||||
|
||||
const transcript = await transcriber.transcribe({ mediaFilePath: frVideoPath, language: 'fr', format: 'txt', model, transcriptDirectory })
|
||||
|
||||
|
|
|
@ -165,7 +165,7 @@ describe('Whisper CTranslate2 transcriber', function () {
|
|||
})
|
||||
|
||||
const transcriptFileEvaluator = new TranscriptFileEvaluator(openaiTranscript, transcript)
|
||||
expect(await transcriptFileEvaluator.wer()).to.be.below(20 / 100)
|
||||
expect(await transcriptFileEvaluator.wer()).to.be.below(25 / 100)
|
||||
expect(await transcriptFileEvaluator.cer()).to.be.below(10 / 100)
|
||||
})
|
||||
|
||||
|
|
Loading…
Reference in New Issue