Skip to content

Commit 3c09412

Browse files
committed
Updates after review comments
1 parent 03db78e commit 3c09412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vision/automl/src/main/java/com/google/cloud/vision/samples/automl/PredictionApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ public static void predict(
8989
// Additional parameters that can be provided for prediction e.g. Score Threshold
9090
Map<String, String> params = new HashMap<>();
9191
if (scoreThreshold != null) {
92-
params.put("scoreThreshold", scoreThreshold);
92+
params.put("score_threshold", scoreThreshold);
9393
}
9494
// Perform the AutoML Prediction request
9595
PredictResponse response = predictionClient.predict(name, examplePayload, params);

0 commit comments

Comments
 (0)