Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -77,7 +77,7 @@ def _style_table(df_display, benches, cmap="RdYlGn", vmin=0.0, vmax=100.0, preci
|
|
| 77 |
"""Return an HTML string of a pandas Styler with background gradients on benchmark columns."""
|
| 78 |
styler = (
|
| 79 |
df_display.style
|
| 80 |
-
.
|
| 81 |
.format({c: f"{{:.{precision}f}}%" for c in benches}, na_rep="N/A")
|
| 82 |
.background_gradient(axis=None, subset=benches, cmap=cmap, vmin=vmin, vmax=vmax)
|
| 83 |
.set_table_styles(
|
|
@@ -214,8 +214,15 @@ def filter_tab3(s_df_raw, s_bench_imp, s_benches, text_query, bench_choice, comp
|
|
| 214 |
|
| 215 |
|
| 216 |
with gr.Blocks(css="""
|
| 217 |
-
/*
|
| 218 |
.table-wrap { overflow-x: auto; }
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 219 |
""") as demo:
|
| 220 |
gr.Markdown("## Reasoning Modeels benchmark")
|
| 221 |
|
|
|
|
| 77 |
"""Return an HTML string of a pandas Styler with background gradients on benchmark columns."""
|
| 78 |
styler = (
|
| 79 |
df_display.style
|
| 80 |
+
.hide(axis="index")
|
| 81 |
.format({c: f"{{:.{precision}f}}%" for c in benches}, na_rep="N/A")
|
| 82 |
.background_gradient(axis=None, subset=benches, cmap=cmap, vmin=vmin, vmax=vmax)
|
| 83 |
.set_table_styles(
|
|
|
|
| 214 |
|
| 215 |
|
| 216 |
with gr.Blocks(css="""
|
| 217 |
+
/* Scroll horizontal */
|
| 218 |
.table-wrap { overflow-x: auto; }
|
| 219 |
+
|
| 220 |
+
/* Oculta la columna de 铆ndice en todas las tablas */
|
| 221 |
+
.table-wrap table th.row_heading,
|
| 222 |
+
.table-wrap table td.row_heading,
|
| 223 |
+
.table-wrap table th.blank {
|
| 224 |
+
display: none !important;
|
| 225 |
+
}
|
| 226 |
""") as demo:
|
| 227 |
gr.Markdown("## Reasoning Modeels benchmark")
|
| 228 |
|