Spaces:
Running
Running
Update constants.py
Browse files- constants.py +10 -2
constants.py
CHANGED
@@ -1,3 +1,6 @@
|
|
|
|
|
|
|
|
1 |
MODEL_INFO = ["Model", "Backbone"]
|
2 |
|
3 |
ALL_RESULTS = ["UMT-FVD↓", "UMTScore↑", "MTScore↑", "CHScore↑", "GPT4o-MTScore↑"]
|
@@ -12,9 +15,14 @@ CSV_DIR_CHRONOMAGIC_BENCH_150 = "./file/results_ChronoMagic-Bench-150.csv"
|
|
12 |
|
13 |
COLUMN_NAMES = MODEL_INFO + ALL_RESULTS
|
14 |
|
15 |
-
|
|
|
|
|
|
|
|
|
|
|
16 |
<div style='display: flex; align-items: center; justify-content: center; text-align: center;'>
|
17 |
-
<img src=
|
18 |
</div>
|
19 |
|
20 |
# ChronoMagic-Bench Leaderboard
|
|
|
1 |
+
import base64
|
2 |
+
import requests
|
3 |
+
|
4 |
MODEL_INFO = ["Model", "Backbone"]
|
5 |
|
6 |
ALL_RESULTS = ["UMT-FVD↓", "UMTScore↑", "MTScore↑", "CHScore↑", "GPT4o-MTScore↑"]
|
|
|
15 |
|
16 |
COLUMN_NAMES = MODEL_INFO + ALL_RESULTS
|
17 |
|
18 |
+
url = "https://www.pnglog.com/6xm07l.png"
|
19 |
+
response = requests.get(url)
|
20 |
+
base64_str = base64.b64encode(response.content).decode('utf-8')
|
21 |
+
img_data_uri = f"data:image/png;base64,{base64_str}"
|
22 |
+
|
23 |
+
LEADERBORAD_INTRODUCTION = f"""
|
24 |
<div style='display: flex; align-items: center; justify-content: center; text-align: center;'>
|
25 |
+
<img src={img_data_uri} style='width: 600px; height: auto; margin-right: 10px;' />
|
26 |
</div>
|
27 |
|
28 |
# ChronoMagic-Bench Leaderboard
|