Abhaykoul commited on
Commit
77f5aa3
1 Parent(s): 85ea5d9

Update openllm.py

Browse files
Files changed (1) hide show
  1. openllm.py +2 -8
openllm.py CHANGED
@@ -5,7 +5,7 @@ import json
5
 
6
 
7
  def get_json_format_data():
8
- url = 'https://eduagarcia-open-pt-llm-leaderboard.hf.space/'
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