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(
|
|
|
|
| 77 |
"""Return an HTML string of a pandas Styler with background gradients on benchmark columns."""
|
| 78 |
styler = (
|
| 79 |
df_display.style
|
| 80 |
+
.hide_index_() # <-- usa el m茅todo con gui贸n bajo
|
| 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(
|