hysts HF staff commited on
Commit
f42c85a
1 Parent(s): a0b4c37
Files changed (1) hide show
  1. app.py +3 -4
app.py CHANGED
@@ -177,7 +177,7 @@ def update_table(
177
  *columns,
178
  ) -> pd.DataFrame:
179
  columns = [item for column in columns for item in column]
180
- filtered_df = filter_models(
181
  ORIGINAL_DF,
182
  type_query,
183
  size_query,
@@ -187,9 +187,8 @@ def update_table(
187
  version_query,
188
  vllm_query,
189
  )
190
- filtered_df = search_models_by_multiple_names(filtered_df, query)
191
-
192
- df = select_columns(filtered_df, columns)
193
  return df
194
 
195
 
 
177
  *columns,
178
  ) -> pd.DataFrame:
179
  columns = [item for column in columns for item in column]
180
+ df = filter_models(
181
  ORIGINAL_DF,
182
  type_query,
183
  size_query,
 
187
  version_query,
188
  vllm_query,
189
  )
190
+ df = search_models_by_multiple_names(df, query)
191
+ df = select_columns(df, columns)
 
192
  return df
193
 
194