Krishnan Kumar commited on
Commit
da716c4
·
1 Parent(s): 863eeb7

Add app file

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -19,7 +19,7 @@ from google.cloud import aiplatform
19
  from google.protobuf import json_format
20
  from google.protobuf.struct_pb2 import Value
21
  import os
22
- os.environ['GOOGLE_APPLICATION_CREDENTIALS']='./key-int.json'
23
  def predict_custom_trained_model_sample(
24
  project: str,
25
  endpoint_id: str,
 
19
  from google.protobuf import json_format
20
  from google.protobuf.struct_pb2 import Value
21
  import os
22
+ os.environ['GOOGLE_APPLICATION_CREDENTIALS']=os.environ['API_KEY']
23
  def predict_custom_trained_model_sample(
24
  project: str,
25
  endpoint_id: str,