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