Spaces:
Sleeping
Sleeping
Commit
·
370fa55
1
Parent(s):
6504c3b
bugfix: fix minor bugs
Browse files
utils/completion_reward.py
CHANGED
@@ -23,10 +23,9 @@ from google.cloud import bigquery
|
|
23 |
from google.cloud import storage
|
24 |
|
25 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
26 |
-
SCOPES = ["https://www.googleapis.com/auth/cloud-platform"]
|
27 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
28 |
|
29 |
-
creds = Credentials.from_service_account_info(service_account_info_dict
|
30 |
|
31 |
gbq_client = bigquery.Client(
|
32 |
credentials=creds, project=service_account_info_dict["project_id"]
|
|
|
23 |
from google.cloud import storage
|
24 |
|
25 |
SERVICE_ACCOUNT_INFO = os.getenv("GBQ_TOKEN")
|
|
|
26 |
service_account_info_dict = json.loads(SERVICE_ACCOUNT_INFO)
|
27 |
|
28 |
+
creds = Credentials.from_service_account_info(service_account_info_dict)
|
29 |
|
30 |
gbq_client = bigquery.Client(
|
31 |
credentials=creds, project=service_account_info_dict["project_id"]
|