Skip to content

Commit

Permalink
chore(transcription): add preinstall script for Python dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
lutangar committed May 30, 2024
1 parent 62a9696 commit 961724a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions packages/jiwer/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"type": "module",
"devDependencies": {},
"scripts": {
"preinstall": "pip install -r requirements.txt",
"build": "tsc",
"watch": "tsc -w"
},
Expand Down
1 change: 1 addition & 0 deletions packages/transcription/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"type": "module",
"devDependencies": {},
"scripts": {
"preinstall": "pip install -r requirements.txt",
"build": "tsc",
"watch": "tsc -w",
"benchmark": "tsx --conditions=peertube:tsx --tsconfig ./tsconfig.json ./src/benchmark.ts"
Expand Down
3 changes: 3 additions & 0 deletions packages/transcription/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
openai-whisper==20231117
whisper-ctranslate2==0.4.4
whisper-timestamped==1.15.4

0 comments on commit 961724a

Please sign in to comment.