LiamKhoaLe commited on
Commit
33e4e84
·
1 Parent(s): be50aa8

Update statics JS voice handler

Browse files
Files changed (1) hide show
  1. statics/script.js +1 -1
statics/script.js CHANGED
@@ -42,7 +42,7 @@ async function initMedia() {
42
  answerEl.textContent = "";
43
 
44
  try {
45
- const res = await fetch("https://binkhoale1812-interview-ai.hf.space/voice-transcribe", { method: "POST", body: form });
46
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
47
  const data = await res.json();
48
 
 
42
  answerEl.textContent = "";
43
 
44
  try {
45
+ const res = await fetch("/voice-transcribe", { method: "POST", body: form });
46
  if (!res.ok) throw new Error(`HTTP ${res.status}`);
47
  const data = await res.json();
48