Skip to content

Commit 347e17f

Browse files
committed
Updated .env.example file to elaborate of the proper usage for IAM API keys and credentials and added URL parameters
1 parent 31d0ba1 commit 347e17f

File tree

1 file changed

+20
-6
lines changed

1 file changed

+20
-6
lines changed

examples/.env.example

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,20 @@
1-
SPEECH_TO_TEXT_IAM_APIKEY=""
2-
SPEECH_TO_TEXT_USERNAME=""
3-
SPEECH_TO_TEXT_PASSWORD=""
4-
TEXT_TO_SPEECH_IAM_APIKEY=""
5-
TEXT_TO_SPEECH_USERNAME=""
6-
TEXT_TO_SPEECH_PASSWORD=""
1+
# Replace this if you are using a region specific service
2+
SPEECH_TO_TEXT_URL=https://stream.watsonplatform.net/speech-to-text/api
3+
4+
# If your using IAM API keys use this and do not input credentials:
5+
SPEECH_TO_TEXT_IAM_APIKEY=<Your API key>
6+
7+
# If your Speech to Text credentials contain username and password use the following:
8+
SPEECH_TO_TEXT_USERNAME=
9+
SPEECH_TO_TEXT_PASSWORD=
10+
11+
# Replace this if you are using a region specific service
12+
TEXT_TO_SPEECH_URL=https://stream.watsonplatform.net/text-to-speech/api
13+
14+
# If your using IAM API keys use this and do not input credentials:
15+
TEXT_TO_SPEECH_IAM_APIKEY=<Your API key>
16+
17+
# If your Text to Speech credentials contain username and password use the following:
18+
TEXT_TO_SPEECH_USERNAME=
19+
TEXT_TO_SPEECH_PASSWORD=
20+

0 commit comments

Comments
 (0)