hexuan21 commited on
Commit
3a35e3b
β€’
1 Parent(s): c90045f
Files changed (2) hide show
  1. app.py +2 -0
  2. utils.py +1 -1
app.py CHANGED
@@ -48,6 +48,8 @@ with block:
48
  refresh_button = gr.Button("Refresh")
49
  refresh_button.click(fn=refresh_data, outputs=data_component)
50
 
 
 
51
  # # Table 2
52
  with gr.TabItem("πŸ“Š EvalCrafter LeaderBoard (Best-of-K-Sampling with VideoScore)", elem_id="qa-tab-table2", id=2):
53
  with gr.Row():
 
48
  refresh_button = gr.Button("Refresh")
49
  refresh_button.click(fn=refresh_data, outputs=data_component)
50
 
51
+
52
+
53
  # # Table 2
54
  with gr.TabItem("πŸ“Š EvalCrafter LeaderBoard (Best-of-K-Sampling with VideoScore)", elem_id="qa-tab-table2", id=2):
55
  with gr.Row():
utils.py CHANGED
@@ -94,7 +94,7 @@ def get_df_t2():
94
  "Text-to-Video Alignment",
95
  ]].mean(axis=1).round(2)
96
  df = df.sort_values(by=['Avg'], ascending=False)
97
- return df[COLUMN_NAMES]
98
 
99
 
100
  def refresh_data_t2():
 
94
  "Text-to-Video Alignment",
95
  ]].mean(axis=1).round(2)
96
  df = df.sort_values(by=['Avg'], ascending=False)
97
+ return df[COLUMN_NAMES_T2]
98
 
99
 
100
  def refresh_data_t2():