ynhe commited on
Commit
e6d3144
1 Parent(s): a0ddbce

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -95,12 +95,12 @@ def on_filter_model_size_method_change(selected_columns):
95
  # columns:
96
  selected_columns = [item for item in TASK_INFO if item in selected_columns]
97
  present_columns = MODEL_INFO + selected_columns
98
- print("selected_columns",'|'.join(selected_columns))
99
  updated_data = updated_data[present_columns]
100
  updated_data = updated_data.sort_values(by=selected_columns[0], ascending=False)
101
  updated_headers = present_columns
102
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]
103
- print(updated_data,present_columns,update_datatype)
104
  filter_component = gr.components.Dataframe(
105
  value=updated_data,
106
  headers=updated_headers,
 
95
  # columns:
96
  selected_columns = [item for item in TASK_INFO if item in selected_columns]
97
  present_columns = MODEL_INFO + selected_columns
98
+ # print("selected_columns",'|'.join(selected_columns))
99
  updated_data = updated_data[present_columns]
100
  updated_data = updated_data.sort_values(by=selected_columns[0], ascending=False)
101
  updated_headers = present_columns
102
  update_datatype = [DATA_TITILE_TYPE[COLUMN_NAMES.index(x)] for x in updated_headers]
103
+ # print(updated_data,present_columns,update_datatype)
104
  filter_component = gr.components.Dataframe(
105
  value=updated_data,
106
  headers=updated_headers,