hexuan21 commited on
Commit
3f98a3d
1 Parent(s): f4d12f0

update app.py

Browse files
Files changed (1) hide show
  1. utils.py +4 -2
utils.py CHANGED
@@ -15,13 +15,14 @@ MODEL_INFO = [
15
  "Temporal Consistency",
16
  "Dynamic Degree",
17
  "Text-to-Video Alignment",
 
18
  ]
19
 
20
  DATA_TITILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number',]
21
 
22
  SUBMISSION_NAME = "VideoScore-Leaderboard"
23
  SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/hexuan21/", SUBMISSION_NAME)
24
- CSV_DIR = "./VideoScore-Leaderboard/results.csv"
25
 
26
  COLUMN_NAMES = MODEL_INFO
27
 
@@ -94,7 +95,8 @@ def get_df():
94
  df['Avg'] = df[["Visual Quality",
95
  "Temporal Consistency",
96
  "Dynamic Degree",
97
- "Text-to-Video Alignment",]].mean(axis=1).round(2)
 
98
  df = df.sort_values(by=['Avg'], ascending=False)
99
  return df[COLUMN_NAMES]
100
 
 
15
  "Temporal Consistency",
16
  "Dynamic Degree",
17
  "Text-to-Video Alignment",
18
+ "Factual Consistency"
19
  ]
20
 
21
  DATA_TITILE_TYPE = ['markdown', 'number', 'number', 'number', 'number', 'number',]
22
 
23
  SUBMISSION_NAME = "VideoScore-Leaderboard"
24
  SUBMISSION_URL = os.path.join("https://huggingface.co/datasets/hexuan21/", SUBMISSION_NAME)
25
+ CSV_DIR = "./VideoScore-Leaderboard/leaderboard_res.csv"
26
 
27
  COLUMN_NAMES = MODEL_INFO
28
 
 
95
  df['Avg'] = df[["Visual Quality",
96
  "Temporal Consistency",
97
  "Dynamic Degree",
98
+ "Text-to-Video Alignment",
99
+ "Factual Consistency"]].mean(axis=1).round(2)
100
  df = df.sort_values(by=['Avg'], ascending=False)
101
  return df[COLUMN_NAMES]
102