Update app.py
Browse files
app.py
CHANGED
@@ -189,7 +189,7 @@ with gr.Blocks() as demo:
|
|
189 |
headers = ["🔢 Serial Number", "🏢 Organization Name", "📥 Total Downloads", "👍 Total Likes", "🤖 Number of Models", "🏆 Best Model On Open LLM Leaderboard", "🥇 Best Rank On Open LLM Leaderboard", "📊 Average Downloads per Model", "📈 Average Likes per Model", "🚀 Most Downloaded Model", "📈 Most Download Count", "❤️ Most Liked Model", "👍 Most Like Count"]
|
190 |
gr.Dataframe(models_df.head(400), headers=headers, interactive=True, datatype=["str", "markdown", "str", "str", "str", "markdown", "str", "str", "str", "markdown", "str", "markdown", "str"])
|
191 |
|
192 |
-
with gr.TabItem("📊
|
193 |
columns_to_convert = ["Organization Name", "Most Downloaded Dataset", "Most Liked Dataset"]
|
194 |
dataset_df = make_leaderboard(org_names_in_list, "datasets")
|
195 |
dataset_df = models_df_to_clickable(dataset_df, columns_to_convert, "datasets")
|
|
|
189 |
headers = ["🔢 Serial Number", "🏢 Organization Name", "📥 Total Downloads", "👍 Total Likes", "🤖 Number of Models", "🏆 Best Model On Open LLM Leaderboard", "🥇 Best Rank On Open LLM Leaderboard", "📊 Average Downloads per Model", "📈 Average Likes per Model", "🚀 Most Downloaded Model", "📈 Most Download Count", "❤️ Most Liked Model", "👍 Most Like Count"]
|
190 |
gr.Dataframe(models_df.head(400), headers=headers, interactive=True, datatype=["str", "markdown", "str", "str", "str", "markdown", "str", "str", "str", "markdown", "str", "markdown", "str"])
|
191 |
|
192 |
+
with gr.TabItem("📊 Datasets", id=2):
|
193 |
columns_to_convert = ["Organization Name", "Most Downloaded Dataset", "Most Liked Dataset"]
|
194 |
dataset_df = make_leaderboard(org_names_in_list, "datasets")
|
195 |
dataset_df = models_df_to_clickable(dataset_df, columns_to_convert, "datasets")
|