Spaces:
Runtime error
Runtime error
Update openllm.py
Browse files- openllm.py +2 -8
openllm.py
CHANGED
@@ -5,7 +5,7 @@ import json
|
|
5 |
|
6 |
|
7 |
def get_json_format_data():
|
8 |
-
url = 'https://
|
9 |
response = requests.get(url)
|
10 |
soup = BeautifulSoup(response.content, 'html.parser')
|
11 |
|
@@ -41,10 +41,4 @@ def get_datas(data):
|
|
41 |
except (KeyError, TypeError):
|
42 |
continue
|
43 |
|
44 |
-
return result_list
|
45 |
-
|
46 |
-
if __name__ == "__main__":
|
47 |
-
data = get_json_format_data()
|
48 |
-
print(data)
|
49 |
-
finished_models = get_datas(data)
|
50 |
-
print(finished_models)
|
|
|
5 |
|
6 |
|
7 |
def get_json_format_data():
|
8 |
+
url = 'https://huggingfaceh4-open-llm-leaderboard.hf.space/'
|
9 |
response = requests.get(url)
|
10 |
soup = BeautifulSoup(response.content, 'html.parser')
|
11 |
|
|
|
41 |
except (KeyError, TypeError):
|
42 |
continue
|
43 |
|
44 |
+
return result_list
|
|
|
|
|
|
|
|
|
|
|
|