Update app.py
Browse files
app.py
CHANGED
|
@@ -5,7 +5,7 @@ from pathlib import Path
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
def load_data():
|
| 8 |
-
url = "https://huggingface.co/datasets/stabletoolbench/StableToolBench_data/main/leaderboard_data.json"
|
| 9 |
response = requests.get(url)
|
| 10 |
data = response.json() # 将下载的内容解析为 JSON
|
| 11 |
return data
|
|
|
|
| 5 |
import requests
|
| 6 |
|
| 7 |
def load_data():
|
| 8 |
+
url = "https://huggingface.co/datasets/stabletoolbench/StableToolBench_data/tree/main/leaderboard_data.json"
|
| 9 |
response = requests.get(url)
|
| 10 |
data = response.json() # 将下载的内容解析为 JSON
|
| 11 |
return data
|