Spaces:
Running
Running
Default config = language in most cases
Browse files
app.py
CHANGED
@@ -71,7 +71,7 @@ def parse_metrics_rows(meta):
|
|
71 |
lang = meta["language"]
|
72 |
lang = lang[0] if isinstance(lang, list) else lang
|
73 |
lang = aliases_lang[lang] if lang in aliases_lang else lang
|
74 |
-
config = result["dataset"]["config"] if "config" in result["dataset"] else
|
75 |
split = result["dataset"]["split"] if "split" in result["dataset"] else None
|
76 |
row = {
|
77 |
"dataset": dataset,
|
|
|
71 |
lang = meta["language"]
|
72 |
lang = lang[0] if isinstance(lang, list) else lang
|
73 |
lang = aliases_lang[lang] if lang in aliases_lang else lang
|
74 |
+
config = result["dataset"]["config"] if "config" in result["dataset"] else lang
|
75 |
split = result["dataset"]["split"] if "split" in result["dataset"] else None
|
76 |
row = {
|
77 |
"dataset": dataset,
|