Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
392e621
1
Parent(s):
1f7e0a7
bugfix: fix minor bugs
Browse files
utils/completion_reward.py
CHANGED
@@ -323,6 +323,7 @@ class GoogleAgent:
|
|
323 |
def get_story(self, user_log):
|
324 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
325 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
|
|
326 |
aiplatform.init(
|
327 |
project='junyiacademy',
|
328 |
service_account=service_account_info_dict,
|
|
|
323 |
def get_story(self, user_log):
|
324 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
325 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
326 |
+
logging.info(f"Google service account info: {service_account_info_dict}")
|
327 |
aiplatform.init(
|
328 |
project='junyiacademy',
|
329 |
service_account=service_account_info_dict,
|