Einbindung des Summarizer

This commit is contained in:
santa
2025-11-20 11:51:34 +01:00
parent 455147a41b
commit 97b571b7f9
3 changed files with 20 additions and 2 deletions
+3
View File
@@ -12,6 +12,9 @@ try {
contextBridge.exposeInMainWorld("electronAPI", {
getFilePath: (file) => {return webUtils.getPathForFile(file)}
})
contextBridge.exposeInMainWorld("summarizer", {
runFile: (file) => ipcRenderer.send("summarize-transcription", file)
});
} catch (error) {
console.log("Error in preload.js");
}