BenchmarkBot commited on
Commit
bf0a261
β€’
1 Parent(s): 6bc8c31

search in lower case

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -74,7 +74,7 @@ def submit_query(text, backends, datatypes, threshold, raw_df):
74
  # raw_df["Average H4 Score ⬆️"] = raw_df["Average H4 Score ⬆️"].apply(
75
  # extract_score_from_clickable)
76
  filtered_df = raw_df[
77
- raw_df["Model πŸ€—"].str.contains(text) &
78
  raw_df["Backend 🏭"].isin(backends) &
79
  raw_df["Datatype πŸ“₯"].isin(datatypes) &
80
  (raw_df["Average H4 Score ⬆️"] >= threshold)
 
74
  # raw_df["Average H4 Score ⬆️"] = raw_df["Average H4 Score ⬆️"].apply(
75
  # extract_score_from_clickable)
76
  filtered_df = raw_df[
77
+ raw_df["Model πŸ€—"].str.lower().str.contains(text.lower()) &
78
  raw_df["Backend 🏭"].isin(backends) &
79
  raw_df["Datatype πŸ“₯"].isin(datatypes) &
80
  (raw_df["Average H4 Score ⬆️"] >= threshold)