Skip to content

Commit 52beebf

Browse files
authored
Update python.md
1 parent 3b803df commit 52beebf

File tree

1 file changed

+1
-0
lines changed
  • articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics

1 file changed

+1
-0
lines changed

articles/cognitive-services/Speech-Service/includes/quickstarts/text-to-speech-basics/python.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ Follow these steps to create a new console application.
4444
1. 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'))

0 commit comments

Comments
 (0)