Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Commit

Permalink
Merge pull request #3 from PatrickFarley/patch1
Browse files Browse the repository at this point in the history
fix free subscription region
  • Loading branch information
wiazur committed Dec 19, 2019
2 parents 5cf9497 + d300527 commit 1610d41
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ComputerVision/AnalyzeImage/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static void Main(string[] args)
ComputerVisionClient computerVision = new ComputerVisionClient(
new ApiKeyServiceClientCredentials(subscriptionKey),
new System.Net.Http.DelegatingHandler[] { });

// Add your Computer Vision endpoint to your environment variables.
computerVision.Endpoint = Environment.GetEnvironmentVariable("COMPUTER_VISION_ENDPOINT");

Expand Down
1 change: 1 addition & 0 deletions Face/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ namespace DetectFace
{
class Program
{

// Add your Azure Computer Vision subscription key and endpoint to your environment variables
private const string subscriptionKey = Environment.GetEnvironmentVariable("COMPUTER_VISION_SUBSCRIPTION_KEY");
private const string faceEndpoint = Environment.GetEnvironmentVariable("COMPUTER_VISION_ENDPOINT");
Expand Down

0 comments on commit 1610d41

Please sign in to comment.