Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update app.py
Browse files
app.py
CHANGED
@@ -127,11 +127,11 @@ def filter_models(
|
|
127 |
else: # Show only still on the hub models
|
128 |
filtered_df = df[df[AutoEvalColumn.still_on_hub.name] == True]
|
129 |
|
130 |
-
if not show_merges:
|
131 |
-
|
132 |
|
133 |
-
if not show_flagged:
|
134 |
-
|
135 |
|
136 |
type_emoji = [t[0] for t in type_query]
|
137 |
filtered_df = filtered_df.loc[df[AutoEvalColumn.model_type_symbol.name].isin(type_emoji)]
|
|
|
127 |
else: # Show only still on the hub models
|
128 |
filtered_df = df[df[AutoEvalColumn.still_on_hub.name] == True]
|
129 |
|
130 |
+
#if not show_merges:
|
131 |
+
# filtered_df = filtered_df[filtered_df[AutoEvalColumn.merged.name] == False]
|
132 |
|
133 |
+
#if not show_flagged:
|
134 |
+
# filtered_df = filtered_df[filtered_df[AutoEvalColumn.flagged.name] == False]
|
135 |
|
136 |
type_emoji = [t[0] for t in type_query]
|
137 |
filtered_df = filtered_df.loc[df[AutoEvalColumn.model_type_symbol.name].isin(type_emoji)]
|