ycy commited on
Commit
5ebec65
Β·
1 Parent(s): ff25b8f
Files changed (1) hide show
  1. 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; color: #4CAF50;">
30
- <span style="font-size: 40px; margin-right: 15px;">🌟</span>
 
 
 
 
 
31
  CapArena Leaderboard
32
- <span style="font-size: 40px; margin-left: 15px;">πŸ“Š</span>
33
  </h1>
34
- <div style="display: flex; justify-content: center; align-items: center; text-align: center;
35
- font-size: 24px; font-weight: bold; color: #555; padding: 10px;">
 
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"):