terryyz commited on
Commit
09dc49e
1 Parent(s): 889b484

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -129,7 +129,7 @@ def filter_direct_complete(df, leaderboard_table, query):
129
 
130
 
131
  def search_table(df, leaderboard_table, query):
132
- filtered_df = df[(df["model"].str.contains(query, case=False))]
133
  return filtered_df[leaderboard_table.columns]
134
 
135
 
 
129
 
130
 
131
  def search_table(df, leaderboard_table, query):
132
+ filtered_df = df[(df["model"].str.contains("|".join(q.strip() for q in query.split("|")), case=False))]
133
  return filtered_df[leaderboard_table.columns]
134
 
135