@remotion/install-whisper-cpp 4.0.147 → 4.0.149
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -41,7 +41,9 @@ const installForWindows = async ({ version, to, printOutput, }) => {
|
|
|
41
41
|
throw new Error(`Non-semantic version provided. Only releases of Whisper.cpp are supported on Windows (e.g., 1.5.4). Provided version:
|
|
42
42
|
${version}. See https://www.remotion.dev/docs/install-whisper-cpp/install-whisper-cpp#version for more information.`);
|
|
43
43
|
}
|
|
44
|
-
const url =
|
|
44
|
+
const url = version === '1.5.5'
|
|
45
|
+
? 'https://remotion-ffmpeg-binaries.s3.eu-central-1.amazonaws.com/whisper-bin-x64-1-5-5.zip'
|
|
46
|
+
: `https://github.com/ggerganov/whisper.cpp/releases/download/v${version}/whisper-bin-x64.zip`;
|
|
45
47
|
const filePath = path_1.default.join(process.cwd(), 'whisper-bin-x64.zip');
|
|
46
48
|
const fileStream = fs_1.default.createWriteStream(filePath);
|
|
47
49
|
const { body } = await fetch(url);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@remotion/install-whisper-cpp",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.149",
|
|
4
4
|
"description": "Install helper for Whisper.cpp",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -41,8 +41,6 @@
|
|
|
41
41
|
"scripts": {
|
|
42
42
|
"formatting": "prettier src --check",
|
|
43
43
|
"lint": "eslint src --ext ts,tsx",
|
|
44
|
-
"build": "tsc -d",
|
|
45
|
-
"watch": "tsc -w",
|
|
46
44
|
"test": "bun test src"
|
|
47
45
|
}
|
|
48
46
|
}
|