hexuan21 commited on
Commit
96d8ad5
1 Parent(s): 2059c0d

Update utils.py

Browse files
Files changed (1) hide show
  1. utils.py +2 -2
utils.py CHANGED
@@ -69,7 +69,7 @@ def get_df():
69
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
70
  repo.git_pull()
71
  df = pd.read_csv(CSV_DIR)
72
- df['Model'] = df['Model'].apply(lambda x: f"[{x.split(']')[0][1:]}]({x.split('(')[1][:-1]})")
73
  df['Avg'] = df[["Visual Quality",
74
  "Temporal Consistency",
75
  "Dynamic Degree",
@@ -87,7 +87,7 @@ def get_df_t2():
87
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
88
  repo.git_pull()
89
  df = pd.read_csv(CSV_DIR_T2)
90
- df['Model'] = df['Model'].apply(lambda x: f"[{x.split(']')[0][1:]}]({x.split('(')[1][:-1]})")
91
  df['Avg'] = df[["Visual Quality",
92
  "Temporal Consistency",
93
  "Motion Quality",
 
69
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
70
  repo.git_pull()
71
  df = pd.read_csv(CSV_DIR)
72
+ # df['Model'] = df['Model'].apply(lambda x: f"[{x.split(']')[0][1:]}]({x.split('(')[1][:-1]})")
73
  df['Avg'] = df[["Visual Quality",
74
  "Temporal Consistency",
75
  "Dynamic Degree",
 
87
  repo = Repository(local_dir=SUBMISSION_NAME, clone_from=SUBMISSION_URL, use_auth_token=HF_TOKEN)
88
  repo.git_pull()
89
  df = pd.read_csv(CSV_DIR_T2)
90
+ # df['Model'] = df['Model'].apply(lambda x: f"[{x.split(']')[0][1:]}]({x.split('(')[1][:-1]})")
91
  df['Avg'] = df[["Visual Quality",
92
  "Temporal Consistency",
93
  "Motion Quality",