Spaces:
Running
Running
yangzhitao
commited on
Commit
·
d24be6a
1
Parent(s):
844a1b9
fix: update benchmark retrieval to return a list instead of sorted
Browse files- src/about.py +1 -1
src/about.py
CHANGED
|
@@ -57,7 +57,7 @@ class _Tasks(Enum):
|
|
| 57 |
@lru_cache(maxsize=1)
|
| 58 |
def get_benchmarks():
|
| 59 |
meta_toml = load_meta_toml()
|
| 60 |
-
return
|
| 61 |
|
| 62 |
|
| 63 |
NUM_FEWSHOT = 0 # Change with your few shot
|
|
|
|
| 57 |
@lru_cache(maxsize=1)
|
| 58 |
def get_benchmarks():
|
| 59 |
meta_toml = load_meta_toml()
|
| 60 |
+
return [b for b in meta_toml.benchmarks if not b.disabled]
|
| 61 |
|
| 62 |
|
| 63 |
NUM_FEWSHOT = 0 # Change with your few shot
|