Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
0608184
1
Parent(s):
cd35ea3
bugfix: fix minor bugs
Browse files
utils/completion_reward.py
CHANGED
@@ -50,7 +50,7 @@ class CompletionReward:
|
|
50 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
51 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
52 |
|
53 |
-
|
54 |
# self.gbq_client = bigquery.Client(
|
55 |
# credentials=creds, project=service_account_info_dict["project_id"]
|
56 |
# )
|
|
|
50 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
51 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
52 |
|
53 |
+
creds = Credentials.from_service_account_info(service_account_info_dict)
|
54 |
# self.gbq_client = bigquery.Client(
|
55 |
# credentials=creds, project=service_account_info_dict["project_id"]
|
56 |
# )
|