use speetch to text server
This commit is contained in:
@@ -9,9 +9,9 @@ const AUDIO_CAPTCHA_TRACK = ".audio-captcha-track";
|
|||||||
const CAPTCHA_CONTAINER = "#captcha-container";
|
const CAPTCHA_CONTAINER = "#captcha-container";
|
||||||
const WAV_URL_REGEX = "https:.+.wav";
|
const WAV_URL_REGEX = "https:.+.wav";
|
||||||
const re = new RegExp(WAV_URL_REGEX);
|
const re = new RegExp(WAV_URL_REGEX);
|
||||||
// const SPEECH_TO_TEXT_HOST = "http://appointment.lpaconsulting.fr:8000"
|
const SPEECH_TO_TEXT_HOST = "http://appointment.lpaconsulting.fr:8000"
|
||||||
|
|
||||||
const SPEECH_TO_TEXT_HOST = "http://127.0.0.1:8000"
|
// const SPEECH_TO_TEXT_HOST = "http://127.0.0.1:8000"
|
||||||
|
|
||||||
function delay(delayInMs) {
|
function delay(delayInMs) {
|
||||||
return new Promise(resolve => {
|
return new Promise(resolve => {
|
||||||
|
|||||||
Reference in New Issue
Block a user