Rename /api/speak API endpoint to /api/transcribe

This commit is contained in:
Debanjum Singh Solanky
2023-11-26 05:58:07 -08:00
parent 56a1a61c77
commit 06f99ceb3c
4 changed files with 4 additions and 4 deletions

View File

@@ -555,7 +555,7 @@
const chatInput = document.getElementById('chat-input');
const hostURL = await window.hostURLAPI.getURL();
let url = `${hostURL}/api/speak?client=desktop`;
let url = `${hostURL}/api/transcribe?client=desktop`;
const khojToken = await window.tokenAPI.getToken();
const headers = { 'Authorization': `Bearer ${khojToken}` };