From e6aa1212ca8b0ef85d4e783abdecc847dbfe66e7 Mon Sep 17 00:00:00 2001 From: lutangar Date: Wed, 12 Jun 2024 09:55:10 +0200 Subject: [PATCH] chore(transcription): raise timeout some more --- .../whisper/transcriber/openai-transcriber.spec.ts | 2 +- .../whisper/transcriber/timestamped-transcriber.spec.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts b/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts index 286c7cf47c95..6af0326976b0 100644 --- a/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts +++ b/packages/tests/src/transcription/whisper/transcriber/openai-transcriber.spec.ts @@ -78,7 +78,7 @@ describe('Open AI Whisper transcriber', function () { }) it('May transcribe a media file using a local PyTorch model', async function () { - this.timeout(5 * 1000 * 60) + this.timeout(6 * 1000 * 60) await transcriber.transcribe({ mediaFilePath: frVideoPath, model: await TranscriptionModel.fromPath(join(modelsDirectory, 'tiny.pt')), diff --git a/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts b/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts index e907a9fa1963..6343d82ad3d3 100644 --- a/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts +++ b/packages/tests/src/transcription/whisper/transcriber/timestamped-transcriber.spec.ts @@ -99,7 +99,7 @@ describe('Linto timestamped Whisper transcriber', function () { }) it('Should produce a text transcript similar to openai-whisper implementation', async function () { - this.timeout(6 * 1000 * 60) + this.timeout(7 * 1000 * 60) const transcribeArgs: WhisperTranscribeArgs = { mediaFilePath: frVideoPath, model: await TranscriptionModel.fromPath(join(modelsDirectory, 'tiny.pt')),