Skip to content

Commit e5ac4c9

Browse files
committed
Fix [instances] array typo
1 parent 071f2b5 commit e5ac4c9

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

google-cloud-ai_platform/samples/predict_text_prompt.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ def predict_text_prompt project_id:, location_id:, publisher:, model:
6464
)
6565

6666
# Make the prediction request
67-
response = client.predict endpoint: endpoint, instances: [instances], parameters: parameters
67+
response = client.predict endpoint: endpoint, instances: instances, parameters: parameters
6868

6969
# Handle the prediction response
7070
puts "Predict Response"

0 commit comments

Comments
 (0)