T145 commited on
Commit
e7041c1
Β·
1 Parent(s): 27563dc

Updated the contents URL

Browse files
Files changed (1) hide show
  1. functions.py +2 -1
functions.py CHANGED
@@ -131,7 +131,8 @@ def get_details_url(repo: str):
131
 
132
 
133
  def get_contents_url(repo: str):
134
- return f"https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q={repo}"
 
135
 
136
 
137
  def get_query_url(repo: str):
 
131
 
132
 
133
  def get_contents_url(repo: str):
134
+ param = quote(repo, safe="")
135
+ return f"https://huggingface.co/datasets/open-llm-leaderboard/contents/viewer/default/train?q={param}&sort[column]=Average%20%E2%AC%86%EF%B8%8F&sort[direction]=desc"
136
 
137
 
138
  def get_query_url(repo: str):