adpinzonp commited on
Commit
3086a17
verified
1 Parent(s): 1cf3b7b

Upload folder using huggingface_hub

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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
- .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(
 
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(