Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Update src/display/utils.py
Browse files- src/display/utils.py +7 -8
src/display/utils.py
CHANGED
@@ -146,12 +146,11 @@ EVAL_TYPES = [c.type for c in fields(EvalQueueColumn)]
|
|
146 |
BENCHMARK_COLS = [t.value.col_name for t in Tasks]
|
147 |
|
148 |
NUMERIC_INTERVALS = {
|
149 |
-
"
|
150 |
-
"~
|
151 |
-
"~
|
152 |
-
"~
|
153 |
-
"~
|
154 |
-
"~
|
155 |
-
"
|
156 |
-
"70+": pd.Interval(70, 10000, closed="right"),
|
157 |
}
|
|
|
146 |
BENCHMARK_COLS = [t.value.col_name for t in Tasks]
|
147 |
|
148 |
NUMERIC_INTERVALS = {
|
149 |
+
"Unknown": pd.Interval(-1, 0, closed="right"),
|
150 |
+
"0~3B": pd.Interval(0, 3, closed="right"),
|
151 |
+
"3~7B": pd.Interval(3, 7.3, closed="right"),
|
152 |
+
"7~13B": pd.Interval(7.3, 13, closed="right"),
|
153 |
+
"13~35B": pd.Interval(13, 35, closed="right"),
|
154 |
+
"35~60B": pd.Interval(35, 60, closed="right"),
|
155 |
+
"60B+": pd.Interval(60, 10000, closed="right"),
|
|
|
156 |
}
|