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