fix for windows

This commit is contained in:
2025-08-05 17:39:56 -07:00
parent bf92addde9
commit bbbf3ef5cd
+3 -1
View File
@@ -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 = '';