Spaces:
Restarting
on
CPU Upgrade
Restarting
on
CPU Upgrade
Sean Cho
commited on
Commit
•
75da23f
1
Parent(s):
605c80f
fix interval
Browse files
app.py
CHANGED
@@ -243,13 +243,13 @@ def select_columns(df: pd.DataFrame, columns: list) -> pd.DataFrame:
|
|
243 |
return filtered_df
|
244 |
|
245 |
NUMERIC_INTERVALS = {
|
246 |
-
"Unknown": pd.Interval(-1, 0, closed="right"),
|
247 |
-
"
|
248 |
-
"~
|
249 |
-
"~
|
250 |
-
"~
|
251 |
-
"~
|
252 |
-
"60B+": pd.Interval(
|
253 |
}
|
254 |
|
255 |
def filter_models(
|
|
|
243 |
return filtered_df
|
244 |
|
245 |
NUMERIC_INTERVALS = {
|
246 |
+
"Unknown": pd.Interval(-1, 0, closed="right"),
|
247 |
+
"~3B": pd.Interval(1.5, 3, closed="right"),
|
248 |
+
"~7B": pd.Interval(3, 7, closed="right"),
|
249 |
+
"~13B": pd.Interval(7, 13, closed="right"),
|
250 |
+
"~35B": pd.Interval(13, 35, closed="right"),
|
251 |
+
"~60B": pd.Interval(35, 60, closed="right"),
|
252 |
+
"60B+": pd.Interval(60, 10000, closed="right"),
|
253 |
}
|
254 |
|
255 |
def filter_models(
|