davanstrien HF Staff commited on
Commit
87196f0
·
1 Parent(s): 4180e6d

Fix token classification dataset count

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def report_summary():
68
  for row in df.head(20).itertuples():
69
  language = row[1]
70
  summary += f"# Summary for language: {language}\n"
71
- summary += f"This language has {len(row[2])} token classification datasets, it has {row[3]} token classification models, and {row[4]} models overall.\n"
72
  summary += f"- [Datasets for token classification task for {language}](https://huggingface.co/datasets?task_categories=task_categories:token-classification&language=language:{language})\n"
73
  summary += f"- Token classification models for [{language}](https://huggingface.co/models?task_categories=task_categories:token-classification&language=language:{language})\n"
74
  summary += f"- All models for [{language}](https://huggingface.co/models?language={language}&sort=trending)\n"
 
68
  for row in df.head(20).itertuples():
69
  language = row[1]
70
  summary += f"# Summary for language: {language}\n"
71
+ summary += f"This language has {(row[2])} token classification datasets, it has {row[3]} token classification models, and {row[4]} models overall.\n"
72
  summary += f"- [Datasets for token classification task for {language}](https://huggingface.co/datasets?task_categories=task_categories:token-classification&language=language:{language})\n"
73
  summary += f"- Token classification models for [{language}](https://huggingface.co/models?task_categories=task_categories:token-classification&language=language:{language})\n"
74
  summary += f"- All models for [{language}](https://huggingface.co/models?language={language}&sort=trending)\n"