Spaces:
Running
Running
Update app.py
Browse files
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="
|
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]
|