Skip to content

Commit bc44b0c

Browse files
Merge pull request #281925 from sally-baolian/patch-274
Update python.md
2 parents 9f324c6 + 5e4b823 commit bc44b0c

File tree

1 file changed

+1
-1
lines changed
  • articles/ai-services/speech-service/includes/how-to/speech-synthesis

1 file changed

+1
-1
lines changed

articles/ai-services/speech-service/includes/how-to/speech-synthesis/python.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ In this example, use the `AudioDataStream` constructor to get a stream from the
8686
```python
8787
speech_synthesizer = speechsdk.SpeechSynthesizer(speech_config=speech_config, audio_config=None)
8888
result = speech_synthesizer.speak_text_async("I'm excited to try text to speech").get()
89-
stream = AudioDataStream(result)
89+
stream = speechsdk.AudioDataStream(result)
9090
```
9191

9292
At this point, you can implement any custom behavior by using the resulting `stream` object.

0 commit comments

Comments
 (0)