t0-0 commited on
Commit
bfa0aa8
·
verified ·
1 Parent(s): 1d20e7c

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- 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)]
 
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)]