Spaces:
Running
Running
ChenyuRabbitLove
commited on
Commit
•
291c759
1
Parent(s):
474db4e
bugfix: fix minor bugs
Browse files
utils/completion_reward.py
CHANGED
@@ -47,8 +47,8 @@ class CompletionReward:
|
|
47 |
"google": self.paragraph_google,
|
48 |
"mtk": self.paragraph_mtk,
|
49 |
}
|
50 |
-
|
51 |
-
|
52 |
|
53 |
# creds = Credentials.from_service_account_info(service_account_info_dict)
|
54 |
# self.gbq_client = bigquery.Client(
|
|
|
47 |
"google": self.paragraph_google,
|
48 |
"mtk": self.paragraph_mtk,
|
49 |
}
|
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(
|