philippds commited on
Commit
19ff41c
·
verified ·
1 Parent(s): fd60739

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -138,7 +138,7 @@ def update_leaderboard_dataset_parallel(hivex_env, path):
138
  return None
139
  user_id = model_id.split("/")[0]
140
  row = {}
141
- row["Verified"] = True if user_id in verified_users else False
142
  row["User"] = user_id
143
  row["Model"] = model_id
144
  results = meta["model-index"][0]["results"][0]
@@ -343,7 +343,7 @@ with block:
343
  gr_dataframe = gr.DataFrame(
344
  value=data,
345
  headers=["Verified", "User", "Model"],
346
- datatype=["markdown", "markdown", "markdown"],
347
  row_count=(row_count, "fixed"),
348
  )
349
 
 
138
  return None
139
  user_id = model_id.split("/")[0]
140
  row = {}
141
+ row["Verified"] = if user_id in verified_users else
142
  row["User"] = user_id
143
  row["Model"] = model_id
144
  results = meta["model-index"][0]["results"][0]
 
343
  gr_dataframe = gr.DataFrame(
344
  value=data,
345
  headers=["Verified", "User", "Model"],
346
+ datatype=["html", "markdown", "markdown"],
347
  row_count=(row_count, "fixed"),
348
  )
349