Spaces:
Build error
Build error
Commit ·
8152262
1
Parent(s): a68854f
Refactor report_summary function to use bullet
Browse files
app.py
CHANGED
|
@@ -68,12 +68,9 @@ 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"
|
| 72 |
-
summary += f"https://huggingface.co/
|
| 73 |
-
summary += f"
|
| 74 |
-
summary += f"https://huggingface.co/models?task_categories=task_categories:token-classification&language=language:{language} \n"
|
| 75 |
-
summary += f"## All models for {language}\n"
|
| 76 |
-
summary += f"https://huggingface.co/models?language=language:{language} \n"
|
| 77 |
summary += "<br>\n"
|
| 78 |
return summary
|
| 79 |
|
|
|
|
| 68 |
for row in df.head(20).itertuples():
|
| 69 |
language = row[1]
|
| 70 |
summary += f"# Summary for language: {language}\n"
|
| 71 |
+
summary += f"- [Datasets for token classification task for {language}](https://huggingface.co/datasets?task_categories=task_categories:token-classification&language=language:{language})\n"
|
| 72 |
+
summary += f"- Token classification models for [{language}](https://huggingface.co/models?task_categories=task_categories:token-classification&language=language:{language})\n"
|
| 73 |
+
summary += f"- All models for [{language}](https://huggingface.co/models?language=language:{language})\n"
|
|
|
|
|
|
|
|
|
|
| 74 |
summary += "<br>\n"
|
| 75 |
return summary
|
| 76 |
|