Updated the contents URL
Browse files- 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 |
-
|
|
|
|
| 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):
|