Commit
·
bb1ee8a
1
Parent(s):
38fcf43
chore: Update Hugging Face dataset dashboard with total number of authors
Browse files
app.py
CHANGED
@@ -1,7 +1,6 @@
|
|
1 |
import gradio as gr
|
2 |
import httpx
|
3 |
from toolz import groupby
|
4 |
-
from datetime import datetime
|
5 |
import plotly.express as px
|
6 |
import pandas as pd
|
7 |
|
@@ -19,6 +18,7 @@ def generate_dashboard(data, grouped, framework):
|
|
19 |
|
20 |
dashboard = f"## Hugging Face Datasets for {framework} \n\n"
|
21 |
dashboard += f"**Total number of datasets: {total_datasets}**\n\n"
|
|
|
22 |
dashboard += "### Datasets per Author\n\n"
|
23 |
|
24 |
for k, v in grouped.items():
|
|
|
1 |
import gradio as gr
|
2 |
import httpx
|
3 |
from toolz import groupby
|
|
|
4 |
import plotly.express as px
|
5 |
import pandas as pd
|
6 |
|
|
|
18 |
|
19 |
dashboard = f"## Hugging Face Datasets for {framework} \n\n"
|
20 |
dashboard += f"**Total number of datasets: {total_datasets}**\n\n"
|
21 |
+
dashboard += f"**Total number of authors: {len(grouped)}**\n\n"
|
22 |
dashboard += "### Datasets per Author\n\n"
|
23 |
|
24 |
for k, v in grouped.items():
|