Spaces:
Runtime error
Runtime error
Update app.py
Browse files
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 |
|