Pratik Bhavsar commited on
Commit
1740c2f
·
1 Parent(s): 712db9d

moved the note above the table

Browse files
Files changed (1) hide show
  1. tabs/leaderboard.py +7 -11
tabs/leaderboard.py CHANGED
@@ -117,6 +117,13 @@ def filter_leaderboard(df, model_type, category, sort_by):
117
  color: var(--note-text);
118
  }}
119
  </style>
 
 
 
 
 
 
 
120
  <div class="dark-table-container">
121
  <table class="dark-styled-table">
122
  <thead>
@@ -144,17 +151,6 @@ def filter_leaderboard(df, model_type, category, sort_by):
144
  </tr>
145
  """
146
 
147
- table_html += """
148
- </tbody>
149
- </table>
150
- </div>
151
- <div class="note-box">
152
- <p style="margin: 0; font-size: 0.9em;">
153
- Note: API pricing for sorting by cost uses a 3-to-1 input/output ratio calculation. DeepSeek V3 and R1 were excluded from rankings due to limited function support.
154
- </p>
155
- </div>
156
- """
157
-
158
  return table_html, perf_chart, cost_chart
159
 
160
 
 
117
  color: var(--note-text);
118
  }}
119
  </style>
120
+
121
+ <div class="note-box">
122
+ <p style="margin: 0; font-size: 1em;">
123
+ Note: API pricing for sorting by cost uses a 3-to-1 input/output ratio calculation. DeepSeek V3 and R1 were excluded from rankings due to limited function support.
124
+ </p>
125
+ </div>
126
+
127
  <div class="dark-table-container">
128
  <table class="dark-styled-table">
129
  <thead>
 
151
  </tr>
152
  """
153
 
 
 
 
 
 
 
 
 
 
 
 
154
  return table_html, perf_chart, cost_chart
155
 
156