Skip to content

Commit

Permalink
chore(transcription): use short video for local model test
Browse files Browse the repository at this point in the history
  • Loading branch information
lutangar committed Jun 12, 2024
1 parent 501217b commit 256cfc6
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@ describe('Open AI Whisper transcriber', function () {
})

it('May transcribe a media file using a local PyTorch model', async function () {
this.timeout(11 * 1000 * 60)
this.timeout(2 * 1000 * 60)
await transcriber.transcribe({
mediaFilePath: frVideoPath,
mediaFilePath: shortVideoPath,
model: await TranscriptionModel.fromPath(join(modelsDirectory, 'tiny.pt')),
language: 'en'
})
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ describe('Linto timestamped Whisper transcriber', function () {
it('May transcribe a media file using a local PyTorch model file', async function () {
this.timeout(2 * 1000 * 60)
await transcriber.transcribe({
mediaFilePath: frVideoPath,
mediaFilePath: shortVideoPath,
model: await TranscriptionModel.fromPath(join(modelsDirectory, 'tiny.pt')),
language: 'en'
})
Expand Down

0 comments on commit 256cfc6

Please sign in to comment.