tttoaster commited on
Commit
98f155a
1 Parent(s): ee062a5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -203,6 +203,7 @@ with block:
203
  selected_columns = [item for item in TASK_INFO_v2 if item in selected_columns]
204
  present_columns = MODEL_INFO + selected_columns
205
  updated_data = get_all_df()[present_columns]
 
206
  updated_headers = present_columns
207
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]
208
 
 
203
  selected_columns = [item for item in TASK_INFO_v2 if item in selected_columns]
204
  present_columns = MODEL_INFO + selected_columns
205
  updated_data = get_all_df()[present_columns]
206
+ updated_data = updated_data.sort_values(by=present_columns[3], ascending=False)
207
  updated_headers = present_columns
208
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]
209