From af13907fdce7fcc10315b39576a007214fb06f9a Mon Sep 17 00:00:00 2001 From: Emily Date: Mon, 24 Nov 2025 16:14:26 +0100 Subject: [PATCH] added console outputs for debugging --- main.js | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/main.js b/main.js index 1c2c0e7..c58c261 100644 --- a/main.js +++ b/main.js @@ -139,6 +139,7 @@ electron.ipcMain.on("file_submit", async (event, args) => { let audiopath = "" let transcriptpath = "" + console.log("\n\n Running the Video to Audio Extractor"); // This code handles the Video to Audio extraction module call await mapFunctions.get("module-handler").function(args.video.module, {inputVideoPath: args.video.inputVideoPath, outputType: args.video.outputType}).then(resp => { console.log(resp); @@ -151,6 +152,7 @@ electron.ipcMain.on("file_submit", async (event, args) => { }) + console.log("\n\n Running the Audio to Transcription module"); // TODO implement transcription module // This code handles the Audio to Text transcription module call await mapFunctions.get("module-handler").function(args.transcription.module, audiopath).then(resp => { @@ -164,6 +166,7 @@ electron.ipcMain.on("file_submit", async (event, args) => { }) + console.log("\n\n Running the Transcription Summarizer module"); // This code summarises the transcript, so that it can be used by an llm await mapFunctions.get("summarize-transcription").function(transcriptpath).then(resp => { console.log(resp); @@ -175,6 +178,7 @@ electron.ipcMain.on("file_submit", async (event, args) => { return }) + console.log("\n\n Running the LLM module"); // TODO implement documentation module // This code handles the Text to Document processing module call for (let i = 0; i < args.document.styles.length; i++) {