Spaces:
Runtime error
Runtime error
rodrigomasini
commited on
Commit
โข
fd9eb06
1
Parent(s):
bd9edb7
Update src/leaderboard.py
Browse files- src/leaderboard.py +4 -4
src/leaderboard.py
CHANGED
@@ -45,16 +45,16 @@ def get_leaderboard_df(llm_perf_df):
|
|
45 |
|
46 |
|
47 |
def create_leaderboard_table(llm_perf_df):
|
48 |
-
# descriptive text
|
49 |
-
gr.HTML("๐ Scroll to the right ๐ for additional columns.", elem_id="text")
|
50 |
# get dataframe
|
51 |
leaderboard_df = get_leaderboard_df(llm_perf_df)
|
52 |
# create table
|
53 |
leaderboard_table = gr.components.Dataframe(
|
54 |
value=leaderboard_df,
|
55 |
-
datatype=list(LEADERBOARD_COLUMN_TO_DATATYPE.values()),
|
56 |
headers=list(LEADERBOARD_COLUMN_TO_DATATYPE.keys()),
|
57 |
-
|
|
|
|
|
|
|
58 |
)
|
59 |
|
60 |
return leaderboard_table
|
|
|
45 |
|
46 |
|
47 |
def create_leaderboard_table(llm_perf_df):
|
|
|
|
|
48 |
# get dataframe
|
49 |
leaderboard_df = get_leaderboard_df(llm_perf_df)
|
50 |
# create table
|
51 |
leaderboard_table = gr.components.Dataframe(
|
52 |
value=leaderboard_df,
|
|
|
53 |
headers=list(LEADERBOARD_COLUMN_TO_DATATYPE.keys()),
|
54 |
+
datatype=list(LEADERBOARD_COLUMN_TO_DATATYPE.values()),
|
55 |
+
visible=False,
|
56 |
+
line_breaks=False,
|
57 |
+
interactive=False
|
58 |
)
|
59 |
|
60 |
return leaderboard_table
|