Hi,
I am trying to transcript file audio using Whisper but it throws an error (Module not found: Error: Can’t resolve ‘fs’ in 'C:) when I use the snipped code from the documentation.
const fs = require('fs');
const resp = await openai.createTranscription(
fs.createReadStream("audio.mp3"),
"whisper-1"
);
'''
wondering if anyone can help?
Thank you