From f00ff7f9bf9c6180c0dec9f126c82b2f496b4e29 Mon Sep 17 00:00:00 2001 From: PAN Lei Date: Tue, 7 Feb 2023 20:32:31 +0100 Subject: [PATCH] use speetch to text server --- src/workers/GeoCaptchaSolver.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/workers/GeoCaptchaSolver.js b/src/workers/GeoCaptchaSolver.js index aef08b5..8eba16f 100644 --- a/src/workers/GeoCaptchaSolver.js +++ b/src/workers/GeoCaptchaSolver.js @@ -9,9 +9,9 @@ const AUDIO_CAPTCHA_TRACK = ".audio-captcha-track"; const CAPTCHA_CONTAINER = "#captcha-container"; const WAV_URL_REGEX = "https:.+.wav"; 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) { return new Promise(resolve => {