DontPlanToEnd commited on
Commit
24fcd32
1 Parent(s): 0ebfeca

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +5 -3
app.py CHANGED
@@ -131,8 +131,10 @@ def update_table(df: pd.DataFrame, query: str, param_ranges: list, is_foundation
131
  size_mask |= ((df['Total Params'] >= 28) & (df['Total Params'] < 40))
132
  elif param_range == '~50':
133
  size_mask |= ((df['Total Params'] >= 40) & (df['Total Params'] < 65))
134
- elif param_range == '~70+':
135
- size_mask |= (df['Total Params'] >= 65)
 
 
136
  elif param_range == 'Closed':
137
  size_mask |= df['Total Params'].isna()
138
  mask &= size_mask
@@ -188,7 +190,7 @@ with GraInter:
188
  with gr.Column(scale=7):
189
  filter_columns_size = gr.CheckboxGroup(
190
  label="Model sizes (in billions of parameters)",
191
- choices=['~2', '~4', '~8', '~13', '~20', '~34', '~50', '~70+', 'Closed'],
192
  value=[],
193
  interactive=True,
194
  elem_id="filter-columns-size",
 
131
  size_mask |= ((df['Total Params'] >= 28) & (df['Total Params'] < 40))
132
  elif param_range == '~50':
133
  size_mask |= ((df['Total Params'] >= 40) & (df['Total Params'] < 65))
134
+ elif param_range == '~70':
135
+ size_mask |= ((df['Total Params'] >= 65) & (df['Total Params'] < 90))
136
+ elif param_range == '~90+':
137
+ size_mask |= (df['Total Params'] >= 90)
138
  elif param_range == 'Closed':
139
  size_mask |= df['Total Params'].isna()
140
  mask &= size_mask
 
190
  with gr.Column(scale=7):
191
  filter_columns_size = gr.CheckboxGroup(
192
  label="Model sizes (in billions of parameters)",
193
+ choices=['~2', '~4', '~8', '~13', '~20', '~34', '~50', '~70', '~90+', 'Closed'],
194
  value=[],
195
  interactive=True,
196
  elem_id="filter-columns-size",