File tree Expand file tree Collapse file tree 2 files changed +2
-0
lines changed
articles/cognitive-services/Speech-Service/includes/quickstarts Expand file tree Collapse file tree 2 files changed +2
-0
lines changed Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Follow these steps to create a new console application.
44441. Copy the following code into `speech_recognition.py`:
4545
4646 ```Python
47+ import os
4748 import azure.cognitiveservices.speech as speechsdk
4849
4950 def recognize_from_microphone():
Original file line number Diff line number Diff line change @@ -44,6 +44,7 @@ Follow these steps to create a new console application.
44441. Copy the following code into `speech_synthesis.py`:
4545
4646 ```Python
47+ import os
4748 import azure.cognitiveservices.speech as speechsdk
4849
4950 speech_config = speechsdk.SpeechConfig(subscription=os.environ.get('SPEECH_KEY'), region=os.environ.get('SPEECH_REGION'))
You can’t perform that action at this time.
0 commit comments