It seems that the audio recording is not created; or at least, not on my device when running the test. After pressing the 'Process transcript' button, returns the following inside the output:
// Here, we create a temporary file to store the audio file using Vercel's tmp directory
// As we compressed the file and are limiting recordings to 2.5 minutes, we won't run into trouble with storage capacity
const fData = await new Promise<{ fields: any; files: any }>(
(resolve, reject) => {
const form = new IncomingForm({
multiples: false,
uploadDir: "/tmp",
keepExtensions: true,
});
form.parse(req, (err, fields, files) => {
if (err) return reject(err);
resolve({ fields, files });
});
}
);
The comments mention Vercel's tmp directory, how to adjust this for other storage, i.e.: local, when testing?
It seems that the audio recording is not created; or at least, not on my device when running the test. After pressing the 'Process transcript' button, returns the following inside the output:
I do see inside transcribe.ts:
The comments mention Vercel's tmp directory, how to adjust this for other storage, i.e.: local, when testing?