Update app.py
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ creds = json.dumps({
|
|
31 |
with open(CRED_PATH,"w") as f:
|
32 |
f.write(creds)
|
33 |
|
|
|
|
|
34 |
credentials = service_account.Credentials.from_service_account_file(CRED_PATH)
|
35 |
vertexai.init(project=PROJECT_ID, location=LOCATION,credentials=credentials)
|
36 |
image_qna_model = ImageQnAModel.from_pretrained("imagetext@001")
|
|
|
31 |
with open(CRED_PATH,"w") as f:
|
32 |
f.write(creds)
|
33 |
|
34 |
+
print("stored")
|
35 |
+
|
36 |
credentials = service_account.Credentials.from_service_account_file(CRED_PATH)
|
37 |
vertexai.init(project=PROJECT_ID, location=LOCATION,credentials=credentials)
|
38 |
image_qna_model = ImageQnAModel.from_pretrained("imagetext@001")
|