diff --git a/electron/main/script.js b/electron/main/script.js index 581b4a2..aaeda57 100644 --- a/electron/main/script.js +++ b/electron/main/script.js @@ -308,6 +308,7 @@ function checkBoxes() { const outputType = document.getElementById("output_type"); const transcriptionType = document.getElementById("transkript_type"); const aiType = document.getElementById("ai_type"); + const docLanguage = document.getElementById("document_language_option"); const sendingPackage = { "video": { "module": "extraction-video-to-audio", @@ -319,9 +320,11 @@ function checkBoxes() { "document": { "module": aiType.value, "type": typeCheckbox, - "outputType": outputType.value + "outputType": outputType.value, + "outputLanguage": docLanguage.value } }; + console.log(docLanguage.value); window.submit.submit(sendingPackage) } else { alert('The given file is not compatible. These are the available types: [".mp4", ".mov", ".avi", ".mkv"].'); diff --git a/main.js b/main.js index ceb787d..be47e74 100644 --- a/main.js +++ b/main.js @@ -1,3 +1,4 @@ +// Last modified: 2024-06-11 12:28:00 // Loading required packages require("./requires.js"); console.log(start);