Skip to content

Commit

Permalink
fix(wizard): copy whisper to path
Browse files Browse the repository at this point in the history
  • Loading branch information
rishikanthc committed Oct 19, 2024
1 parent 9913580 commit dc5f0d1
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/lib/wizardQueue.ts
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ const worker = new Worker(
}


if (!env.DEV_MODE) {
cmd2 = `cp ${modelPath}/main /usr/local/bin/whisper`;
execCommandWithLoggingSync(cmd2, job);
}

const settt = await pb.collection('settings').getList(1,1);

if (settt && settt.items.length > 0) {
Expand Down

0 comments on commit dc5f0d1

Please sign in to comment.