diff --git a/src/server/backends/whisper.js b/src/server/backends/whisper.js index e6c29f4..7c64384 100644 --- a/src/server/backends/whisper.js +++ b/src/server/backends/whisper.js @@ -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 = '';