XufengDuan commited on
Commit
3192808
1 Parent(s): 089cc2c

update scripts

Browse files
Files changed (1) hide show
  1. app.py +1 -2
app.py CHANGED
@@ -184,7 +184,6 @@ def update_table(
184
  filtered_df = filter_models(hidden_df, type_query, size_query, precision_query, show_deleted)
185
  filtered_df = filter_queries(query, filtered_df)
186
  df = select_columns(filtered_df, columns)
187
- df = df.sort_values(by="Overall Humanlike %", ascending=True)
188
  return df
189
 
190
 
@@ -310,7 +309,7 @@ with demo:
310
  [c.name for c in utils.fields(utils.AutoEvalColumn) if c.never_hidden]
311
  + shown_columns.value
312
  + [utils.AutoEvalColumn.dummy.name]
313
- ],
314
  headers=[c.name for c in utils.fields(utils.AutoEvalColumn) if c.never_hidden] + shown_columns.value,
315
  datatype=utils.TYPES,
316
  elem_id="leaderboard-table",
 
184
  filtered_df = filter_models(hidden_df, type_query, size_query, precision_query, show_deleted)
185
  filtered_df = filter_queries(query, filtered_df)
186
  df = select_columns(filtered_df, columns)
 
187
  return df
188
 
189
 
 
309
  [c.name for c in utils.fields(utils.AutoEvalColumn) if c.never_hidden]
310
  + shown_columns.value
311
  + [utils.AutoEvalColumn.dummy.name]
312
+ ].sort_values(by="Overall Humanlike %", ascending=False),
313
  headers=[c.name for c in utils.fields(utils.AutoEvalColumn) if c.never_hidden] + shown_columns.value,
314
  datatype=utils.TYPES,
315
  elem_id="leaderboard-table",