eduagarcia commited on
Commit
d197ce9
1 Parent(s): 41efe5d

fix sort arena

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -209,7 +209,7 @@ def get_full_table(arena_df, model_table_df):
209
 
210
  def get_arena_table(arena_df, model_table_df):
211
  # sort by rating
212
- arena_df = arena_df.sort_values(by=["final_ranking", "rating"], ascending=False)
213
  values = []
214
  for i in range(len(arena_df)):
215
  row = []
 
209
 
210
  def get_arena_table(arena_df, model_table_df):
211
  # sort by rating
212
+ arena_df = arena_df.sort_values(by=["final_ranking", "rating"], ascending=[True, False])
213
  values = []
214
  for i in range(len(arena_df)):
215
  row = []