fix: add new API location for IBM Watson

pull/321/head
dessant 3 years ago
parent ead4292c7c
commit da8266bf73

@ -49,6 +49,11 @@
"description": "Title of the option."
},
"optionValue_ibmSpeechApiLoc_seoul": {
"message": "Seoul",
"description": "Value of the option."
},
"optionValue_ibmSpeechApiLoc_london": {
"message": "London",
"description": "Value of the option."

@ -273,6 +273,7 @@ export default {
'microsoftSpeechApi'
],
ibmSpeechApiLoc: [
'seoul',
'london',
'frankfurt',
'dallas',

@ -320,6 +320,7 @@ const captchaWitSpeechApiLangCodes = {
// https://cloud.ibm.com/apidocs/speech-to-text#service-endpoint
const ibmSpeechApiUrls = {
seoul: 'https://api.kr-seo.speech-to-text.watson.cloud.ibm.com/v1/recognize',
london: 'https://api.eu-gb.speech-to-text.watson.cloud.ibm.com/v1/recognize',
frankfurt:
'https://api.eu-de.speech-to-text.watson.cloud.ibm.com/v1/recognize',

Loading…
Cancel
Save