m-ric HF Staff commited on
Commit
c937b81
·
verified ·
1 Parent(s): 4fa2b01

Update frontend/src/App.js

Browse files
Files changed (1) hide show
  1. frontend/src/App.js +7 -7
frontend/src/App.js CHANGED
@@ -16,14 +16,14 @@ const ScoreBar = ({ score, isVanilla = false }) => {
16
  style={{
17
  width: `${percentage}%`,
18
  backgroundColor,
19
- height: isVanilla ? '6px' : '12px', // Make vanilla bars thinner with inline style
20
- borderRadius: isVanilla ? '0' : '4px', // Make vanilla bars square
21
- opacity: isVanilla ? 0.6 : 1, // Dim vanilla score bars
22
  }}
23
  />
24
- <span className="score-text">
25
- {percentage.toFixed(1)}%
26
- </span>
 
 
27
  </div>
28
  );
29
  };
@@ -159,7 +159,7 @@ const App = () => {
159
  <td className="model-cell">
160
  <div className="model-name">{item.model_id}</div>
161
  {showVanilla && (
162
- <div className="vanilla-name"><i>Vanilla score below</i></div>
163
  )}
164
  </td>
165
  {["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (
 
16
  style={{
17
  width: `${percentage}%`,
18
  backgroundColor,
19
+ height: 100%,
 
 
20
  }}
21
  />
22
+ {!isVanilla && (
23
+ <span className="score-text">
24
+ {percentage.toFixed(1)}%
25
+ </span>
26
+ )}
27
  </div>
28
  );
29
  };
 
159
  <td className="model-cell">
160
  <div className="model-name">{item.model_id}</div>
161
  {showVanilla && (
162
+ <div className="vanilla-text"><i>Vanilla score below</i></div>
163
  )}
164
  </td>
165
  {["Average", "GAIA", "MATH", "SimpleQA"].map(metric => (