xeon27 commited on
Commit
11c3aa7
·
1 Parent(s): 140abe6

Fixed column width

Browse files
Files changed (1) hide show
  1. app.py +2 -1
app.py CHANGED
@@ -68,7 +68,8 @@ 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"{20*len(c.name)}px" if c.name != "Model" else "250px" 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=["150px" if c.name != "Model" else "250px" for c in AutoEvalColumnSubset],
72
+ wrap=False,
73
  )
74
 
75