adititewari commited on
Commit
513fa1b
·
verified ·
1 Parent(s): 26ebd7f

Update soundscripter.html

Browse files
Files changed (1) hide show
  1. soundscripter.html +2 -2
soundscripter.html CHANGED
@@ -107,7 +107,7 @@
107
  if (recordedAudioBlob) {
108
  formData.append("audio", recordedAudioBlob, "recorded_audio.wav");
109
 
110
- fetch("http://localhost:8000/asr/live", {
111
  method: "POST",
112
  body: formData,
113
  })
@@ -128,7 +128,7 @@
128
  } else if (uploadedFile) {
129
  formData.append("audio", uploadedFile, uploadedFile.name);
130
 
131
- fetch("http://localhost:8000/asr", {
132
  method: "POST",
133
  body: formData,
134
  })
 
107
  if (recordedAudioBlob) {
108
  formData.append("audio", recordedAudioBlob, "recorded_audio.wav");
109
 
110
+ fetch("/asr/live", {
111
  method: "POST",
112
  body: formData,
113
  })
 
128
  } else if (uploadedFile) {
129
  formData.append("audio", uploadedFile, uploadedFile.name);
130
 
131
+ fetch("/asr", {
132
  method: "POST",
133
  body: formData,
134
  })