AlekseyKorshuk commited on
Commit
dd2beab
1 Parent(s): ff98532
Files changed (1) hide show
  1. utils.py +2 -0
utils.py CHANGED
@@ -3,6 +3,8 @@ import random
3
 
4
 
5
  def get_matchmaking(client, models, is_anonymous=True):
 
 
6
  sheet = client.open("Chat Arena").sheet1
7
  records = sheet.get_all_records()
8
  records = [
 
3
 
4
 
5
  def get_matchmaking(client, models, is_anonymous=True):
6
+ model_a, model_b = random.sample(models, k=2)
7
+ return model_a, model_b
8
  sheet = client.open("Chat Arena").sheet1
9
  records = sheet.get_all_records()
10
  records = [