ChenyuRabbitLove commited on
Commit
cbd8e0b
·
1 Parent(s): e1f9684

bugfix: fix minor bugs

Browse files
Files changed (1) hide show
  1. utils/completion_reward.py +1 -2
utils/completion_reward.py CHANGED
@@ -32,6 +32,7 @@ aiplatform.init(
32
  project='junyiacademy',
33
  service_account=service_account_info_dict,
34
  )
 
35
  creds = Credentials.from_service_account_info(service_account_info_dict, scopes=SCOPES)
36
 
37
  gbq_client = bigquery.Client(
@@ -339,8 +340,6 @@ class GoogleAgent:
339
  ```
340
  """
341
 
342
- gemini_pro_model = GenerativeModel("gemini-pro")
343
-
344
  retry_attempts = 0
345
  while retry_attempts < 5:
346
  try:
 
32
  project='junyiacademy',
33
  service_account=service_account_info_dict,
34
  )
35
+ gemini_pro_model = GenerativeModel("gemini-pro")
36
  creds = Credentials.from_service_account_info(service_account_info_dict, scopes=SCOPES)
37
 
38
  gbq_client = bigquery.Client(
 
340
  ```
341
  """
342
 
 
 
343
  retry_attempts = 0
344
  while retry_attempts < 5:
345
  try: