ynhe commited on
Commit
72b2069
1 Parent(s): 0ea8496

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -140,7 +140,7 @@ def on_filter_model_size_method_change(selected_columns):
140
  selected_columns = [item for item in TASK_INFO if item in selected_columns]
141
  present_columns = MODEL_INFO + selected_columns
142
  updated_data = updated_data[present_columns]
143
- updated_data = updated_data.sort_values(by="Total Score", ascending=False)
144
  updated_data = convert_scores_to_percentage(updated_data)
145
  updated_headers = present_columns
146
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]
 
140
  selected_columns = [item for item in TASK_INFO if item in selected_columns]
141
  present_columns = MODEL_INFO + selected_columns
142
  updated_data = updated_data[present_columns]
143
+ updated_data = updated_data.sort_values(by="Selected Score", ascending=False)
144
  updated_data = convert_scores_to_percentage(updated_data)
145
  updated_headers = present_columns
146
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]