Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions tables/automl/automl_tables_predict.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ def batch_predict(project_id,
client = automl.TablesClient(project=project_id, region=compute_region)

# Query model
response = client.batch_predict(
gcs_input_uris, gcs_output_uri, model_display_name=model_display_name
)
response = client.batch_predict(gcs_input_uris=gcs_input_uris,
gcs_output_uri_prefix=gcs_output_uri,
model_display_name=model_display_name)
print("Making batch prediction... ")
response.result()
print("Batch prediction complete.\n{}".format(response.metadata))
Expand Down