Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Clémentine
commited on
Commit
·
2749dc3
1
Parent(s):
6584e09
fix
Browse files
frontend/src/pages/LeaderboardPage/components/Leaderboard/components/Filters/FilteredModelCount.js
CHANGED
@@ -77,8 +77,8 @@ const useModelCount = ({ totalCount, filteredCount, data, table, loading }) => {
|
|
77 |
// Filter by parameters
|
78 |
const params = model.metadata.params_billions;
|
79 |
if (
|
80 |
-
params
|
81 |
-
params
|
82 |
) {
|
83 |
return false;
|
84 |
}
|
|
|
77 |
// Filter by parameters
|
78 |
const params = model.metadata.params_billions;
|
79 |
if (
|
80 |
+
params < filterConfig.paramsRange[0] ||
|
81 |
+
params >= filterConfig.paramsRange[1]
|
82 |
) {
|
83 |
return false;
|
84 |
}
|