xeon27 commited on
Commit
e0778df
·
1 Parent(s): 6bf1f8e

Iterate on column width

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -68,7 +68,7 @@ def init_leaderboard(dataframe, benchmark_type):
68
  return gr.components.Dataframe(
69
  value=dataframe,
70
  datatype=[c.type for c in AutoEvalColumnSubset],
71
- column_widths=[f"{25*len(c.name)}px" if c.name != "Model" else "300px" for c in AutoEvalColumnSubset],
72
  )
73
 
74
 
 
68
  return gr.components.Dataframe(
69
  value=dataframe,
70
  datatype=[c.type for c in AutoEvalColumnSubset],
71
+ column_widths=[f"{10*len(c.name)}px" if c.name != "Model" else "100px" for c in AutoEvalColumnSubset],
72
  )
73
 
74