Update frontend/src/App.js
Browse files- frontend/src/App.js +1 -1
frontend/src/App.js
CHANGED
|
@@ -37,8 +37,8 @@ function App() {
|
|
| 37 |
|
| 38 |
const response = await fetch('https://smolagents-benchmark-smolagents-llm-leaderboard.hf.space/api/results');
|
| 39 |
|
| 40 |
-
const text = await response.text();
|
| 41 |
if (!response.ok) {
|
|
|
|
| 42 |
throw new Error(`HTTP error! status: ${response.status}, message: ${text}`);
|
| 43 |
}
|
| 44 |
const jsonData = await response.json();
|
|
|
|
| 37 |
|
| 38 |
const response = await fetch('https://smolagents-benchmark-smolagents-llm-leaderboard.hf.space/api/results');
|
| 39 |
|
|
|
|
| 40 |
if (!response.ok) {
|
| 41 |
+
const text = await response.text();
|
| 42 |
throw new Error(`HTTP error! status: ${response.status}, message: ${text}`);
|
| 43 |
}
|
| 44 |
const jsonData = await response.json();
|