Spaces:
Runtime error
Runtime error
update
Browse files
app.py
CHANGED
@@ -33,13 +33,15 @@ def get_leaderboard():
|
|
33 |
"References": ','.join([f'<a target="_blank" href="https://github.com/VideoCrafter/VideoCrafter" style="color: blue">Code</a>',
|
34 |
f'<a target="_blank" href="https://huggingface.co/spaces/VideoCrafter/VideoCrafter" style="color: blue">Demo</a>'])
|
35 |
}
|
36 |
-
all_data += [baseline_0, baseline_1]
|
37 |
all_data += submission_results
|
38 |
|
39 |
dataframe = pd.DataFrame.from_records(all_data)
|
40 |
dataframe = dataframe.sort_values(by=['Human Eval (Avg.) ⬆️'], ascending=False)
|
41 |
print(dataframe)
|
42 |
dataframe_human = dataframe[COLS]
|
|
|
|
|
|
|
43 |
dataframe_auto = dataframe[COLS_AUTO]
|
44 |
dataframe_auto = dataframe_auto.sort_values(by=['CLIPScore (Text Alignment) ⬆️'], ascending=False)
|
45 |
return dataframe_human, dataframe_auto
|
|
|
33 |
"References": ','.join([f'<a target="_blank" href="https://github.com/VideoCrafter/VideoCrafter" style="color: blue">Code</a>',
|
34 |
f'<a target="_blank" href="https://huggingface.co/spaces/VideoCrafter/VideoCrafter" style="color: blue">Demo</a>'])
|
35 |
}
|
|
|
36 |
all_data += submission_results
|
37 |
|
38 |
dataframe = pd.DataFrame.from_records(all_data)
|
39 |
dataframe = dataframe.sort_values(by=['Human Eval (Avg.) ⬆️'], ascending=False)
|
40 |
print(dataframe)
|
41 |
dataframe_human = dataframe[COLS]
|
42 |
+
|
43 |
+
all_data += [baseline_0, baseline_1]
|
44 |
+
dataframe = pd.DataFrame.from_records(all_data)
|
45 |
dataframe_auto = dataframe[COLS_AUTO]
|
46 |
dataframe_auto = dataframe_auto.sort_values(by=['CLIPScore (Text Alignment) ⬆️'], ascending=False)
|
47 |
return dataframe_human, dataframe_auto
|