ubowang commited on
Commit
617d783
·
verified ·
1 Parent(s): dd8f702

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +4 -1
utils.py CHANGED
@@ -143,5 +143,8 @@ def add_new_eval(
143
  def refresh_data():
144
  return get_df()
145
 
146
-
 
 
 
147
 
 
143
  def refresh_data():
144
  return get_df()
145
 
146
+ def search_models(df, query):
147
+ if query:
148
+ return df[df['Models'].str.contains(query, case=False, na=False)]
149
+ return df
150