sh1gechan commited on
Commit
c7c473e
1 Parent(s): ec9d149

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -280,7 +280,7 @@ with demo:
280
  # datatypeを準備
281
  datatype_dict = {}
282
  for col in leaderboard_df_filtered.columns:
283
- if col == "Model":
284
  datatype_dict[col] = "markdown"
285
  elif col in TYPES:
286
  datatype_dict[col] = TYPES[col]
@@ -297,6 +297,9 @@ with demo:
297
  visible=True,
298
  )
299
 
 
 
 
300
  # Dummy leaderboard for handling the case when the user uses backspace key
301
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
302
  value=original_df[COLS],
 
280
  # datatypeを準備
281
  datatype_dict = {}
282
  for col in leaderboard_df_filtered.columns:
283
+ if col == AutoEvalColumn.model.name:
284
  datatype_dict[col] = "markdown"
285
  elif col in TYPES:
286
  datatype_dict[col] = TYPES[col]
 
297
  visible=True,
298
  )
299
 
300
+ print("Datatype dictionary:", datatype_dict)
301
+ print("Leaderboard table headers:", leaderboard_table.headers)
302
+
303
  # Dummy leaderboard for handling the case when the user uses backspace key
304
  hidden_leaderboard_table_for_search = gr.components.Dataframe(
305
  value=original_df[COLS],