inoki-giskard commited on
Commit
947816c
β€’
1 Parent(s): 93b23a7

Fix not ended string due to black format

Browse files
Files changed (1) hide show
  1. app_leaderboard.py +4 -4
app_leaderboard.py CHANGED
@@ -54,13 +54,13 @@ def get_display_df(df):
54
  columns = display_df.columns.tolist()
55
  if "model_id" in columns:
56
  display_df["model_id"] = display_df["model_id"].apply(
57
- lambda x: f'<p href="https://huggingface.co/{x}" style="color:blue">πŸ”—{x}</p>
58
- ')
59
  # style all elements in the dataset_id column
60
  if "dataset_id" in columns:
61
  display_df["dataset_id"] = display_df["dataset_id"].apply(
62
- lambda x: f'<p href="https://huggingface.co/datasets/{x}" style="color:blue">πŸ”—{x}</p>
63
- ')
64
  # style all elements in the report_link column
65
  if "report_link" in columns:
66
  display_df["report_link"] = display_df["report_link"].apply(
 
54
  columns = display_df.columns.tolist()
55
  if "model_id" in columns:
56
  display_df["model_id"] = display_df["model_id"].apply(
57
+ lambda x: f'<p href="https://huggingface.co/{x}" style="color:blue">πŸ”—{x}</p>'
58
+ )
59
  # style all elements in the dataset_id column
60
  if "dataset_id" in columns:
61
  display_df["dataset_id"] = display_df["dataset_id"].apply(
62
+ lambda x: f'<p href="https://huggingface.co/datasets/{x}" style="color:blue">πŸ”—{x}</p>'
63
+ )
64
  # style all elements in the report_link column
65
  if "report_link" in columns:
66
  display_df["report_link"] = display_df["report_link"].apply(