Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c43b65d

Browse filesBrowse files
committed
Add authentication instructions
1 parent 125dda0 commit c43b65d
Copy full SHA for c43b65d

File tree

Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-0
lines changed

‎ml_engine/online_prediction/predict.py

Copy file name to clipboardExpand all lines: ml_engine/online_prediction/predict.py
+2Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616

1717

1818
# [START authenticating]
19+
# To authenticate set the environment variable
20+
# GOOGLE_APPLICATION_CREDENTIALS=<path_to_service_account_file>
1921
def get_ml_engine_service():
2022
return googleapiclient.discovery.build('ml', 'v1beta1')
2123
# [END authenticating]

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.