add key/region for speaker recognition

This commit is contained in:
Glenn Harper 2022-02-25 13:48:10 -08:00 коммит произвёл GitHub
Родитель 66bcc19fc6
Коммит d9a9446735
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 4 добавлений и 0 удалений

4
.github/workflows/go.yml поставляемый
Просмотреть файл

@ -61,6 +61,8 @@ jobs:
DIALOG_SUBSCRIPTION_REGION: ${{ secrets.DIALOG_SUBSCRIPTION_REGION }}
SPEECH_SUBSCRIPTION_KEY: ${{ secrets.SR_SUBSCRIPTION_KEY }}
SPEECH_SUBSCRIPTION_REGION: ${{ secrets.SR_SUBSCRIPTION_REGION }}
SPEAKER_RECOGNITION_SUBSCRIPTION_KEY: ${{ secrets.SPEAKER_SUBSCRIPTION_KEY }}
SPEAKER_RECOGNITION_SUBSCRIPTION_REGION: ${{ secrets.SPEAKER_SUBSCRIPTION_REGION }}
run: |
export CGO_CFLAGS="-I$HOME/carbon/current/include/c_api"
export CGO_LDFLAGS="-L$HOME/carbon/current/lib/x64 -lMicrosoft.CognitiveServices.Speech.core"
@ -114,6 +116,8 @@ jobs:
DIALOG_SUBSCRIPTION_REGION: ${{ secrets.DIALOG_SUBSCRIPTION_REGION }}
SPEECH_SUBSCRIPTION_KEY: ${{ secrets.SR_SUBSCRIPTION_KEY }}
SPEECH_SUBSCRIPTION_REGION: ${{ secrets.SR_SUBSCRIPTION_REGION }}
SPEAKER_RECOGNITION_SUBSCRIPTION_KEY: ${{ secrets.SPEAKER_SUBSCRIPTION_KEY }}
SPEAKER_RECOGNITION_SUBSCRIPTION_REGION: ${{ secrets.SPEAKER_SUBSCRIPTION_REGION }}
run: |
export SDK_HOME="$HOME/speechsdk/MicrosoftCognitiveServicesSpeech.xcframework/macos-arm64_x86_64"
export CGO_CFLAGS="-I$SDK_HOME/MicrosoftCognitiveServicesSpeech.framework/Headers"