Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
ed1b57f
1
Parent(s):
392e621
bugfix: fix minor bugs
Browse files
utils/completion_reward.py
CHANGED
@@ -323,7 +323,8 @@ 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 |
-
logging.
|
|
|
327 |
aiplatform.init(
|
328 |
project='junyiacademy',
|
329 |
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.warning(f"Google service account info: {service_account_info_dict}")
|
327 |
+
logging.warning(f"{type(service_account_info_dict)}")
|
328 |
aiplatform.init(
|
329 |
project='junyiacademy',
|
330 |
service_account=service_account_info_dict,
|