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

Commit

Permalink
fix: Wrote inputs as string to facilitate parsing (#480)
Browse files Browse the repository at this point in the history
Co-authored-by: Ivan Cheung <ivanmkc@google.com>
  • Loading branch information
ivanmkc and Ivan Cheung committed Jan 15, 2021
1 parent 3deea49 commit 3d9aa88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion samples/tables/predict.v1beta1.js
Expand Up @@ -17,7 +17,7 @@ async function main(
projectId = 'YOUR_GCP_PROJECT_ID',
computeRegion = 'REGION',
modelId = 'YOUR_MODEL_ID',
inputs = [{numberValue: 1}, {stringValue: 'value'}]
inputs = '[{"numberValue": 1}, {"stringValue": "value"}]'
) {
// [START automl_tables_predict]

Expand Down

0 comments on commit 3d9aa88

Please sign in to comment.