Skip to content

Commit e24015e

Browse files
authored
Update text-to-speech-dotnet.md
Fix missing variable declaration
1 parent 7ca9de5 commit e24015e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

articles/ai-services/openai/includes/text-to-speech-dotnet.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ To run the quickstart, follow these steps:
9898
var speechFilePath = "YOUR_AUDIO_FILE_PATH";
9999
100100
AzureOpenAIClient openAIClient = new AzureOpenAIClient(endpoint, credentials);
101-
AudioClient = openAIClient.GetAudioClient(deploymentName);
101+
AudioClient audioClient = openAIClient.GetAudioClient(deploymentName);
102102
103103
var result = await audioClient.GenerateSpeechAsync(
104104
"the quick brown chicken jumped over the lazy dogs");

0 commit comments

Comments
 (0)