ChenyuRabbitLove commited on
Commit
2271ca4
1 Parent(s): 0608184

bugfix: fix minor bugs

Browse files
Files changed (1) hide show
  1. utils/completion_reward.py +3 -3
utils/completion_reward.py CHANGED
@@ -51,9 +51,9 @@ class CompletionReward:
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
- # )
57
  # self.gcs_client = storage.Client(
58
  # credentials=creds, project=service_account_info_dict["project_id"]
59
  # )
 
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
+ )
57
  # self.gcs_client = storage.Client(
58
  # credentials=creds, project=service_account_info_dict["project_id"]
59
  # )