Spaces:
Sleeping
Sleeping
style theme
Browse files
app.py
CHANGED
|
@@ -469,7 +469,7 @@ def create_performance_plot(selected_models, category, metric="f1_binary", versi
|
|
| 469 |
"""
|
| 470 |
Create a radar plot comparing model performance for selected models.
|
| 471 |
"""
|
| 472 |
-
if category == "
|
| 473 |
df = get_leaderboard_df(version=version)
|
| 474 |
else:
|
| 475 |
df = get_category_leaderboard_df(category, version=version)
|
|
@@ -737,7 +737,7 @@ with demo:
|
|
| 737 |
)
|
| 738 |
with gr.Column():
|
| 739 |
# Add Overall Performance to categories
|
| 740 |
-
viz_categories = ["
|
| 741 |
category_selector = gr.Dropdown(
|
| 742 |
choices=viz_categories,
|
| 743 |
label="Select Category",
|
|
|
|
| 469 |
"""
|
| 470 |
Create a radar plot comparing model performance for selected models.
|
| 471 |
"""
|
| 472 |
+
if category == "Overall Performance":
|
| 473 |
df = get_leaderboard_df(version=version)
|
| 474 |
else:
|
| 475 |
df = get_category_leaderboard_df(category, version=version)
|
|
|
|
| 737 |
)
|
| 738 |
with gr.Column():
|
| 739 |
# Add Overall Performance to categories
|
| 740 |
+
viz_categories = ["Overall Performance"] + CATEGORIES
|
| 741 |
category_selector = gr.Dropdown(
|
| 742 |
choices=viz_categories,
|
| 743 |
label="Select Category",
|