Archived
fix for windows
This commit is contained in:
1 parent
bf92addde9
commit
bbbf3ef5cd
1 file changed
+3
-1
@@ -83,7 +83,9 @@ async function transcribeLocal(audioBuffer) {
|
||||
|
||||
console.log(`Starting Whisper with model: ${currentModel}, GPU: ${gpuAcceleration}`);
|
||||
console.log('Whisper args:', whisperArgs.join(' '));
|
||||
const whisperProcess = spawn('whisper', whisperArgs);
|
||||
|
||||
// Use python -m whisper for better Windows compatibility
|
||||
const whisperProcess = spawn('python', ['-m', 'whisper', ...whisperArgs]);
|
||||
|
||||
let output = '';
|
||||
let error = '';
|
||||
|
||||
Reference in new issue
Block a user