bearking58 commited on
Commit
98c7a08
·
1 Parent(s): 84481d5

fix: missing comma in func param

Browse files
public-prediction/predict_custom_model.py CHANGED
@@ -24,7 +24,7 @@ def predict_custom_trained_model(
24
  # Initialize client that will be used to create and send requests.
25
  # This client only needs to be created once, and can be reused for multiple requests.
26
  client = aiplatform.gapic.PredictionServiceClient(
27
- credentials=credentials
28
  client_options=client_options)
29
  # The format of each instance should conform to the deployed model's prediction input schema.
30
  instances = instances if isinstance(instances, list) else [instances]
 
24
  # Initialize client that will be used to create and send requests.
25
  # This client only needs to be created once, and can be reused for multiple requests.
26
  client = aiplatform.gapic.PredictionServiceClient(
27
+ credentials=credentials,
28
  client_options=client_options)
29
  # The format of each instance should conform to the deployed model's prediction input schema.
30
  instances = instances if isinstance(instances, list) else [instances]