Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -23,7 +23,7 @@ def get_leaderboard_df():
|
|
23 |
|
24 |
|
25 |
def search_table(df, query):
|
26 |
-
return df[df.apply(lambda row: row.astype(str).str.contains(query).any(), axis=1)]
|
27 |
|
28 |
|
29 |
original_df = get_leaderboard_df()
|
|
|
23 |
|
24 |
|
25 |
def search_table(df, query):
|
26 |
+
return df[df.apply(lambda row: row.astype(str).str.lower().str.contains(query.lower()).any(), axis=1)]
|
27 |
|
28 |
|
29 |
original_df = get_leaderboard_df()
|