Skip to content

Commit c9d5280

Browse files
rsamborskicopybara-github
authored andcommitted
Copybara import of the project:
-- 64cb705 by Remigiusz Samborski <[email protected]>: fix: Update predict_custom_trained_model_sample Fixing a line causing the sample to fail with Gemma2 COPYBARA_INTEGRATE_REVIEW=#4123 from googleapis:rsamborski-patch-1 e1f27c0 PiperOrigin-RevId: 656395228
1 parent e78db4b commit c9d5280

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

samples/snippets/prediction_service/predict_custom_trained_model_sample.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def predict_custom_trained_model_sample(
5454
# The predictions are a google.protobuf.Value representation of the model's predictions.
5555
predictions = response.predictions
5656
for prediction in predictions:
57-
print(" prediction:", dict(prediction))
57+
print(" prediction:", prediction)
5858

5959

6060
# [END aiplatform_predict_custom_trained_model_sample]

0 commit comments

Comments
 (0)