Spaces:
Sleeping
Sleeping
Upload folder using huggingface_hub
Browse files
app.py
CHANGED
|
@@ -77,6 +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 |
.format({c: f"{{:.{precision}f}}%" for c in benches}, na_rep="N/A")
|
| 81 |
.background_gradient(axis=None, subset=benches, cmap=cmap, vmin=vmin, vmax=vmax)
|
| 82 |
.set_table_styles(
|
|
@@ -216,7 +217,7 @@ with gr.Blocks(css="""
|
|
| 216 |
/* Make the HTML tables scrollable horizontally if wide */
|
| 217 |
.table-wrap { overflow-x: auto; }
|
| 218 |
""") as demo:
|
| 219 |
-
gr.Markdown("##
|
| 220 |
|
| 221 |
with gr.Row():
|
| 222 |
reload_btn = gr.Button("Reload", variant="primary", scale=1)
|
|
|
|
| 77 |
"""Return an HTML string of a pandas Styler with background gradients on benchmark columns."""
|
| 78 |
styler = (
|
| 79 |
df_display.style
|
| 80 |
+
.hide_index() # <-- aquí ocultas el índice
|
| 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(
|
|
|
|
| 217 |
/* Make the HTML tables scrollable horizontally if wide */
|
| 218 |
.table-wrap { overflow-x: auto; }
|
| 219 |
""") as demo:
|
| 220 |
+
gr.Markdown("## Reasoning Modeels benchmark")
|
| 221 |
|
| 222 |
with gr.Row():
|
| 223 |
reload_btn = gr.Button("Reload", variant="primary", scale=1)
|