rwitz commited on
Commit
7e98abe
1 Parent(s): e4ba5f4

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -164,7 +164,7 @@ import pandas as pd
164
  # Function to generate leaderboard data
165
  def generate_leaderboard():
166
  elo_ratings = get_user_elo_ratings() # Assuming this function returns a dict of {bot_name: elo_score}
167
- leaderboard_data = pd.DataFrame(list(elo_ratings.iter(batch_size=1)), columns=['Chatbot', 'ELO Score'])
168
  leaderboard_data = leaderboard_data.sort_values('ELO Score', ascending=False)
169
  return leaderboard_data
170
 
 
164
  # Function to generate leaderboard data
165
  def generate_leaderboard():
166
  elo_ratings = get_user_elo_ratings() # Assuming this function returns a dict of {bot_name: elo_score}
167
+ leaderboard_data = pd.DataFrame(list(elo_ratings.iter(batch_size=100)), columns=['Chatbot', 'ELO Score'])
168
  leaderboard_data = leaderboard_data.sort_values('ELO Score', ascending=False)
169
  return leaderboard_data
170