Update app.py
Browse files
app.py
CHANGED
@@ -71,11 +71,11 @@ df = load_and_process_csv()
|
|
71 |
def get_leaderboard_df():
|
72 |
return df
|
73 |
|
74 |
-
def filter_and_search(
|
75 |
filtered_df = df.copy()
|
76 |
|
77 |
-
if
|
78 |
-
filtered_df = filtered_df[filtered_df['Model_Name']
|
79 |
|
80 |
if library_filter != "All":
|
81 |
filtered_df = filtered_df[filtered_df['Library'] == library_filter]
|
|
|
71 |
def get_leaderboard_df():
|
72 |
return df
|
73 |
|
74 |
+
def filter_and_search(model_filter, library_filter):
|
75 |
filtered_df = df.copy()
|
76 |
|
77 |
+
if model_filter != "All":
|
78 |
+
filtered_df = filtered_df[filtered_df['Model_Name'] == model_filter]
|
79 |
|
80 |
if library_filter != "All":
|
81 |
filtered_df = filtered_df[filtered_df['Library'] == library_filter]
|