Skip to content

Commit

Permalink
Merge pull request #250 from watson-developer-cloud/update-service-urls
Browse files Browse the repository at this point in the history
Update to onecloud urls
  • Loading branch information
mediumTaj authored Nov 9, 2020
2 parents 5fc9f0e + 85f52da commit 356fb1c
Show file tree
Hide file tree
Showing 3 changed files with 27 additions and 27 deletions.
2 changes: 1 addition & 1 deletion .env.example
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# Environment variables
SPEECH_TO_TEXT_IAM_APIKEY=
SPEECH_TO_TEXT_URL=https://stream.watsonplatform.net/speech-to-text/api
SPEECH_TO_TEXT_URL=https://api.us-south.speech-to-text.watson.cloud.ibm.com
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ You can view a [demo][demo_url] of this app.
```
SPEECH_TO_TEXT_IAM_APIKEY=X4rbi8vwZmKpXfowaS3GAsA7vdy17Qh7km5D6EzKLHL2
SPEECH_TO_TEXT_URL=https://gateway-wdc.watsonplatform.net/speech-to-text/api
SPEECH_TO_TEXT_URL=https://api.us-east.speech-to-text.watson.cloud.ibm.com
```
## Running locally
Expand Down
50 changes: 25 additions & 25 deletions src/data/models.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"//note 2": "model-dropdown.jsx only loads the *public* models. Any customizations you create will not be included in that list.",
"name": "fr-FR_BroadbandModel",
"language": "fr-FR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/fr-FR_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/fr-FR_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -15,7 +15,7 @@
{
"name": "fr-FR_NarrowbandModel",
"language": "fr-FR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/fr-FR_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/fr-FR_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -26,7 +26,7 @@
{
"name": "en-US_NarrowbandModel",
"language": "en-US",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-US_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/en-US_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -37,7 +37,7 @@
{
"name": "pt-BR_BroadbandModel",
"language": "pt-BR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/pt-BR_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/pt-BR_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -48,7 +48,7 @@
{
"name": "ja-JP_NarrowbandModel",
"language": "ja-JP",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/ja-JP_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/ja-JP_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -59,7 +59,7 @@
{
"name": "zh-CN_BroadbandModel",
"language": "zh-CN",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/zh-CN_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/zh-CN_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -70,7 +70,7 @@
{
"name": "ja-JP_BroadbandModel",
"language": "ja-JP",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/ja-JP_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/ja-JP_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -81,7 +81,7 @@
{
"name": "ko-KR_BroadbandModel",
"language": "ko-KR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/ko-KR_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/ko-KR_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -92,7 +92,7 @@
{
"name": "ko-KR_NarrowbandModel",
"language": "ko-KR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/ko-KR_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/ko-KR_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -103,7 +103,7 @@
{
"name": "pt-BR_NarrowbandModel",
"language": "pt-BR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/pt-BR_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/pt-BR_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -114,7 +114,7 @@
{
"name": "es-ES_BroadbandModel",
"language": "es-ES",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/es-ES_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/es-ES_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -125,7 +125,7 @@
{
"name": "ar-AR_BroadbandModel",
"language": "ar-AR",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/ar-AR_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/ar-AR_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -136,7 +136,7 @@
{
"name": "zh-CN_NarrowbandModel",
"language": "zh-CN",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/zh-CN_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/zh-CN_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -147,7 +147,7 @@
{
"name": "en-GB_BroadbandModel",
"language": "en-GB",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-GB_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/en-GB_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -158,7 +158,7 @@
{
"name": "es-ES_NarrowbandModel",
"language": "es-ES",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/es-ES_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/es-ES_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -169,7 +169,7 @@
{
"name": "en-US_BroadbandModel",
"language": "en-US",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-US_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/en-US_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -180,7 +180,7 @@
{
"name": "en-GB_NarrowbandModel",
"language": "en-GB",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-GB_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/en-GB_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -191,7 +191,7 @@
{
"name": "de-DE_BroadbandModel",
"language": "de-DE",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/de-DE_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/de-DE_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -202,7 +202,7 @@
{
"name": "de-DE_NarrowbandModel",
"language": "de-DE",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/de-DE_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/de-DE_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -213,7 +213,7 @@
{
"name": "en-US_ShortForm_NarrowbandModel",
"language": "en-US",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/en-US_ShortForm_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/en-US_ShortForm_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": true,
Expand All @@ -224,7 +224,7 @@
{
"name": "it-IT_BroadbandModel",
"language": "it-IT",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/it-IT_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/it-IT_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -235,7 +235,7 @@
{
"name": "it-IT_NarrowbandModel",
"language": "it-IT",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/it-IT_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/it-IT_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -246,7 +246,7 @@
{
"name": "nl-NL_BroadbandModel",
"language": "nl-NL",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/nl-NL_BroadbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/nl-NL_BroadbandModel",
"rate": 16000,
"supported_features": {
"custom_language_model": false,
Expand All @@ -257,12 +257,12 @@
{
"name": "nl-NL_NarrowbandModel",
"language": "nl-NL",
"url": "https://stream.watsonplatform.net/speech-to-text/api/v1/models/nl-NL_NarrowbandModel",
"url": "https://api.us-south.speech-to-text.watson.cloud.ibm.com/v1/models/nl-NL_NarrowbandModel",
"rate": 8000,
"supported_features": {
"custom_language_model": false,
"speaker_labels": true
},
"description": "Dutch narrowband model."
}
]
]

0 comments on commit 356fb1c

Please sign in to comment.