Skip to content

Commit

Permalink
uncomment used variables in env
Browse files Browse the repository at this point in the history
  • Loading branch information
Lee Boonstra committed May 13, 2020
1 parent 9b2a66c commit 0b964e5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,11 @@ There's a [presentation](https://speakerdeck.com/savelee/implementing-a-custom-a
LINUX/MAC
`export GOOGLE_APPLICATION_CREDENTIALS=/path/to/service_account.json`
WIN
`set GOOGLE_APPLICATION_CREDENTIALS=c:\keys\key-ssd.json`
`set GOOGLE_APPLICATION_CREDENTIALS=c:\path\to\service_account.json`

6. Login: `gcloud auth login`

7. Open **env.txt**, change the environment variables and rename the file to **.env**
7. Open **server/env.txt**, change the environment variables and rename the file to **server/.env**

8. Enable APIs:

Expand Down
10 changes: 7 additions & 3 deletions server/env.txt
Original file line number Diff line number Diff line change
@@ -1,13 +1,17 @@
PROJECT_ID=selfservicedesk
LANGUAGE_CODE=en-US #https://www.rfc-editor.org/rfc/bcp/bcp47.txt
LANGUAGE_CODE=en-US
#https://www.rfc-editor.org/rfc/bcp/bcp47.txt
ENCODING=AUDIO_ENCODING_LINEAR_16
SAMPLE_RATE_HERZ=16000
SINGLE_UTTERANCE=false
BASE_LANG=nl-NL
SSML_GENDER=NEUTRAL
#MALE|NEUTRAL|FEMALE
SPEECH_ENCODING=LINEAR16
#LINEAR16|MP3|AUDIO_ENCODING_UNSPECIFIED/OGG_OPUS

#STT TSS PROPERTIES
#ALTERNATIVE_LANGUAGE_CODES=en-US,nl-NL #ARRAY
#SPEECH_ENCODING=LINEAR16 #LINEAR16|MP3|AUDIO_ENCODING_UNSPECIFIED/OGG_OPUS
SSML_GENDER=NEUTRAL #MALE|NEUTRAL|FEMALE
#INTERIM_RESULTS=true
#SPEAKER_DIARIZATION=true
#DIARIZATION_SPEAKER_COUNT=2
Expand Down

0 comments on commit 0b964e5

Please sign in to comment.