Skip to content

Instantly share code, notes, and snippets.

@Ze1598
Created January 28, 2021 10:58
Show Gist options
  • Save Ze1598/6cce9f347539aacde36ca03e68aa46ba to your computer and use it in GitHub Desktop.
Save Ze1598/6cce9f347539aacde36ca03e68aa46ba to your computer and use it in GitHub Desktop.
Authenticate into Azure Cognitive Services through the Python SDK
import azure.cognitiveservices.speech as speechsdk
subscription_key = "your_key"
speech_region = "your_region"
speech_config = speechsdk.SpeechConfig(subscription_key, speech_region)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment