fix length
Browse files
app.py
CHANGED
|
@@ -143,7 +143,7 @@ with demo:
|
|
| 143 |
leaderboard_table = gr.Dataframe(
|
| 144 |
value=leaderboard_df,
|
| 145 |
wrap=True,
|
| 146 |
-
column_widths=[
|
| 147 |
)
|
| 148 |
|
| 149 |
#cols_bar.change(filter_and_search, inputs=[cols_bar, search_bar], outputs=[leaderboard_table])
|
|
|
|
| 143 |
leaderboard_table = gr.Dataframe(
|
| 144 |
value=leaderboard_df,
|
| 145 |
wrap=True,
|
| 146 |
+
column_widths=[250, 120] + [(60 + len(c)) for c in leaderboard_df.columns[2:]],
|
| 147 |
)
|
| 148 |
|
| 149 |
#cols_bar.change(filter_and_search, inputs=[cols_bar, search_bar], outputs=[leaderboard_table])
|