Spaces:
Running
Running
Joschka Strueber
commited on
Commit
·
9f3c166
1
Parent(s):
e604b65
[Fix] wrong API calls
Browse files- src/dataloading.py +1 -1
src/dataloading.py
CHANGED
@@ -37,7 +37,7 @@ def get_leaderboard_models():
|
|
37 |
try:
|
38 |
count_api_calls += 1
|
39 |
# Check if the dataset can be loaded; if not, skip it.
|
40 |
-
datasets.get_dataset_config_names(
|
41 |
except Exception as e:
|
42 |
continue # Skip dataset if an exception occurs
|
43 |
|
|
|
37 |
try:
|
38 |
count_api_calls += 1
|
39 |
# Check if the dataset can be loaded; if not, skip it.
|
40 |
+
datasets.get_dataset_config_names(dataset.id)
|
41 |
except Exception as e:
|
42 |
continue # Skip dataset if an exception occurs
|
43 |
|