xeon27
commited on
Commit
·
84a3b7a
1
Parent(s):
9a48230
Dynamic column widths
Browse files
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 "
|
72 |
)
|
73 |
|
74 |
|
|
|
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 |
|