ycy commited on
Commit
fc2631e
Β·
1 Parent(s): 97ad4a2
Files changed (1) hide show
  1. src/about.py +8 -10
src/about.py CHANGED
@@ -39,22 +39,20 @@ TITLE = """
39
  # introduction text
40
 
41
  def get_INTRODUCTION_TEXT(model_num: int, LAST_UPDATED: str, paper_link="TODO"):
42
- LAST_UPDATED = LAST_UPDATED.split(" ")[0] # Only keep "year-month-day"
43
  return f"""
44
- <div style="display: flex; flex-wrap: wrap; gap: 15px; align-items: center; justify-content: center; font-family: 'Arial', sans-serif;">
45
  <!-- Paper icon with custom link -->
46
- <a href="{paper_link}" target="_blank" style="text-decoration: none; color: #1E90FF; font-size: 18px; font-weight: bold; display: flex; align-items: center; gap: 5px;">
47
- <span style="font-size: 22px;">πŸ“‘</span>
48
- <span>Read the Paper</span>
49
  </a>
50
- <span style="margin: 0 15px; font-size: 20px; color: #555;">|</span>
51
- <span style="font-weight: bold; color: #4CAF50;">MODELS:</span> <span style="color: #333;">{model_num}</span>
52
- <span style="margin: 0 15px; font-size: 20px; color: #555;">|</span>
53
- <span style="font-weight: bold; color: #4CAF50;">UPDATED:</span> <span style="color: #333;">{LAST_UPDATED}</span>
54
  </div>
55
  """
56
 
57
-
58
  #TODO
59
  INTRODUCE_BENCHMARK = f"""
60
  <h2 style="color: #2c3e50;"> Introduction #TODO</h2>
 
39
  # introduction text
40
 
41
  def get_INTRODUCTION_TEXT(model_num: int, LAST_UPDATED: str, paper_link="TODO"):
42
+ LAST_UPDATED = LAST_UPDATED.split(" ")[0] # εͺδΏη•™εˆ°β€œεΉ΄-月-ζ—₯”
43
  return f"""
44
+ <div style="display: flex; flex-wrap: wrap; gap: 10px; align-items: center;">
45
  <!-- Paper icon with custom link -->
46
+ <a href="{paper_link}" target="_blank">
47
+ πŸ“‘ Paper
 
48
  </a>
49
+ <span style="margin: 0 10px;">|</span>
50
+ <span style="font-weight: bold;">MODELS:</span> {model_num}
51
+ <span style="margin: 0 10px;">|</span>
52
+ <span style="font-weight: bold;">UPDATED:</span> {LAST_UPDATED}
53
  </div>
54
  """
55
 
 
56
  #TODO
57
  INTRODUCE_BENCHMARK = f"""
58
  <h2 style="color: #2c3e50;"> Introduction #TODO</h2>