Skip to content

Commit

Permalink
fix samples
Browse files Browse the repository at this point in the history
  • Loading branch information
PatrickFarley committed Dec 11, 2020
1 parent 9115a0d commit cf3aa6a
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 cf3aa6a

Please sign in to comment.