Spaces:
Running
Running
ycy
commited on
Commit
Β·
5ebec65
1
Parent(s):
ff25b8f
- src/about.py +12 -5
src/about.py
CHANGED
@@ -26,17 +26,24 @@ NUM_FEWSHOT = 0 # Change with your few shot
|
|
26 |
|
27 |
#TODO title
|
28 |
TITLE = """
|
29 |
-
<h1 align="center" id="space-title" style="font-family: 'Arial', sans-serif;
|
30 |
-
|
|
|
|
|
|
|
|
|
|
|
31 |
CapArena Leaderboard
|
32 |
-
<span style="font-size:
|
33 |
</h1>
|
34 |
-
|
35 |
-
|
|
|
36 |
A detailed and interactive leaderboard for Vision-Language Models
|
37 |
</div>
|
38 |
"""
|
39 |
|
|
|
40 |
# introduction text
|
41 |
|
42 |
def get_INTRODUCTION_TEXT(model_num: int, LAST_UPDATED: str, paper_link="TODO"):
|
|
|
26 |
|
27 |
#TODO title
|
28 |
TITLE = """
|
29 |
+
<h1 align="center" id="space-title" style="font-family: 'Arial', sans-serif;
|
30 |
+
font-size: 42px; font-weight: bold;
|
31 |
+
background: linear-gradient(90deg, #7B1FA2, #9C27B0, #BA68C8);
|
32 |
+
-webkit-background-clip: text;
|
33 |
+
-webkit-text-fill-color: transparent;
|
34 |
+
display: flex; justify-content: center; align-items: center;">
|
35 |
+
<span style="font-size: 35px; margin-right: 12px;">π</span>
|
36 |
CapArena Leaderboard
|
37 |
+
<span style="font-size: 35px; margin-left: 12px;">π</span>
|
38 |
</h1>
|
39 |
+
|
40 |
+
<div style="text-align: left; font-size: 22px; font-weight: 500;
|
41 |
+
color: #444; padding: 10px 20px;">
|
42 |
A detailed and interactive leaderboard for Vision-Language Models
|
43 |
</div>
|
44 |
"""
|
45 |
|
46 |
+
|
47 |
# introduction text
|
48 |
|
49 |
def get_INTRODUCTION_TEXT(model_num: int, LAST_UPDATED: str, paper_link="TODO"):
|