Skip to content

🎥 Make videos programmatically with React

fix bug in installWhisperCpp()

Jonny Burger27dccee35095
diff --git a/packages/install-whisper-cpp/src/install-whisper-cpp.ts b/packages/install-whisper-cpp/src/install-whisper-cpp.ts
index 8c108058a7..920b05d401 100644
--- a/packages/install-whisper-cpp/src/install-whisper-cpp.ts
+++ b/packages/install-whisper-cpp/src/install-whisper-cpp.ts
@@ -53,7 +53,7 @@ const installWhisperForUnix = ({
const ref = isSemVer.test(version) ? `v${version}` : version;
- execSync(`git checkout v${ref}`, {
+ execSync(`git checkout ${ref}`, {
stdio,
cwd: to,
});