Skip to content

Commit

Permalink
Merge pull request #196 from Azure-Samples/pafarley-updates
Browse files Browse the repository at this point in the history
fix samples
  • Loading branch information
PatrickFarley authored Dec 11, 2020
2 parents 40412b4 + cf3aa6a commit ee64dd5
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,11 +51,11 @@ public static void main(String[] args) {
// <snippet_auth>
// Authenticate
CustomVisionTrainingClient trainClient = CustomVisionTrainingManager
.authenticate("https://{Endpoint}/customvision/v3.0/training/", CustomVisionTrainingClientKey)
.withEndpoint(Endpoint);
.authenticate("https://{endpoint}/customvision/v3.0/training/", trainingApiKey)
.withEndpoint(endpoint);
CustomVisionPredictionClient predictor = CustomVisionPredictionManager
.authenticate("https://{Endpoint}/customvision/v3.0/prediction/", predictionApiKey)
.withEndpoint(Endpoint);
.authenticate("https://{endpoint}/customvision/v3.0/prediction/", predictionApiKey)
.withEndpoint(endpoint);
// </snippet_auth>

// <snippet_maincalls>
Expand Down

0 comments on commit ee64dd5

Please sign in to comment.