Spaces:
Running
Running
Update app.py
Browse files
app.py
CHANGED
@@ -223,9 +223,10 @@ def main():
|
|
223 |
with gr.Tabs():
|
224 |
with gr.Tab("Tasks Scores"):
|
225 |
gr.Markdown("""
|
226 |
-
|
227 |
-
|
228 |
-
|
|
|
229 |
with gr.Row():
|
230 |
search_box_tasks = gr.Textbox(
|
231 |
placeholder="Search for models...",
|
@@ -458,7 +459,6 @@ def main():
|
|
458 |
# Recalculate Rank after filtering
|
459 |
filtered_df = filtered_df.reset_index(drop=True)
|
460 |
filtered_df.insert(0, 'Rank', range(1, len(filtered_df) + 1))
|
461 |
-
|
462 |
# Ensure selected columns are present
|
463 |
selected_cols = [col for col in selected_cols if col in filtered_df.columns]
|
464 |
|
|
|
223 |
with gr.Tabs():
|
224 |
with gr.Tab("Tasks Scores"):
|
225 |
gr.Markdown("""
|
226 |
+
**Notes:**
|
227 |
+
- This table is sorted according to the first task.
|
228 |
+
- A higher rank indicates a greater susceptibility for the model to be considered dangerous.
|
229 |
+
""")
|
230 |
with gr.Row():
|
231 |
search_box_tasks = gr.Textbox(
|
232 |
placeholder="Search for models...",
|
|
|
459 |
# Recalculate Rank after filtering
|
460 |
filtered_df = filtered_df.reset_index(drop=True)
|
461 |
filtered_df.insert(0, 'Rank', range(1, len(filtered_df) + 1))
|
|
|
462 |
# Ensure selected columns are present
|
463 |
selected_cols = [col for col in selected_cols if col in filtered_df.columns]
|
464 |
|