Update app.py
Browse files
app.py
CHANGED
@@ -27,6 +27,7 @@ columns_data_type = ["markdown" for i in range(len(leaderboard_df.columns))]
|
|
27 |
# "str", "number", "bool", "date", "markdown"
|
28 |
# columns_data_type[0] = "markdown"
|
29 |
|
|
|
30 |
|
31 |
with gr.Blocks(css=custom_css) as demo:
|
32 |
# gr.HTML(PART_LOGO)
|
@@ -34,6 +35,10 @@ with gr.Blocks(css=custom_css) as demo:
|
|
34 |
# Open Persian LLM Leaderboard
|
35 |
""")
|
36 |
|
|
|
|
|
|
|
|
|
37 |
with gr.Tab("🎖️ Persian Leaderboard"):
|
38 |
Leaderboard(
|
39 |
value=leaderboard_df,
|
|
|
27 |
# "str", "number", "bool", "date", "markdown"
|
28 |
# columns_data_type[0] = "markdown"
|
29 |
|
30 |
+
NUM_MODELS=len(leaderboard_df)
|
31 |
|
32 |
with gr.Blocks(css=custom_css) as demo:
|
33 |
# gr.HTML(PART_LOGO)
|
|
|
35 |
# Open Persian LLM Leaderboard
|
36 |
""")
|
37 |
|
38 |
+
gr.Markdown(f"""
|
39 |
+
- **Total Models**: {NUM_MODELS}
|
40 |
+
""")
|
41 |
+
|
42 |
with gr.Tab("🎖️ Persian Leaderboard"):
|
43 |
Leaderboard(
|
44 |
value=leaderboard_df,
|