diff --git a/src/main/index.html b/src/main/index.html
index a572365..399e29c 100644
--- a/src/main/index.html
+++ b/src/main/index.html
@@ -6,7 +6,7 @@
-
Transcribe App
+ Voice Writing
diff --git a/src/main/ipc.js b/src/main/ipc.js
index 09bfe9c..d690193 100644
--- a/src/main/ipc.js
+++ b/src/main/ipc.js
@@ -1,7 +1,6 @@
const { ipcMain } = require("electron");
const { spawn } = require("child_process");
const Groq = require("groq-sdk");
-// thanks to https://stackoverflow.com/a/48270043/2295672 for terminal
const Terminal = require("terminal.js");
const groq = new Groq({
diff --git a/src/main/main.js b/src/main/main.js
index aafbdd5..faca1b5 100644
--- a/src/main/main.js
+++ b/src/main/main.js
@@ -13,12 +13,8 @@ const createWindow = () => {
preload: path.join(__dirname, "preload.js"),
},
});
-
// and load the index.html of the app.
mainWindow.loadFile(path.join(__dirname, "index.html"));
-
- // Open the DevTools.
- // mainWindow.webContents.openDevTools()
};
// This method will be called when Electron has finished
diff --git a/src/renderer/App.svelte b/src/renderer/App.svelte
index bef31b4..ca4b4da 100644
--- a/src/renderer/App.svelte
+++ b/src/renderer/App.svelte
@@ -3,11 +3,7 @@
- Voice Input App
-
+ Voice Writing
diff --git a/src/renderer/Recorder.svelte b/src/renderer/Recorder.svelte
deleted file mode 100644
index 7b6e806..0000000
--- a/src/renderer/Recorder.svelte
+++ /dev/null
@@ -1,82 +0,0 @@
-
-
-
-
-
-
-
- {#key audioUrl}
- {#if audioUrl}
-
- {/if}
- {/key}
-
diff --git a/src/renderer/lib.js b/src/renderer/lib.js
index bcf4c25..572f661 100644
--- a/src/renderer/lib.js
+++ b/src/renderer/lib.js
@@ -7,7 +7,7 @@ export async function postProcessTranscription(text) {
text = text.replace("[Start speaking]", ""); // don't need it now, earlier it served as a prompt
const prompt = promptRoot + "\n\n" + text;
const chatCompletion = await window.api.callGroqApi(prompt);
- console.log(chatCompletion);
+ // console.log(chatCompletion);
let fixed = chatCompletion.choices[0]?.message?.content || "";
// clean up stuff
fixed = fixed.replace(/^Here is the [^:]*text.*:/i, "");