hardcode pd read parquet
Browse files- functions.py +1 -1
functions.py
CHANGED
@@ -9,7 +9,7 @@ import pandas as pd
|
|
9 |
from datasets import load_dataset
|
10 |
|
11 |
def get_datas():
|
12 |
-
return pd.read_parquet("https://huggingface.co/datasets/open-llm-leaderboard/contents/resolve/main/data/train-00000-of-00001.parquet")
|
13 |
|
14 |
BOT_HF_TOKEN = os.getenv('BOT_HF_TOKEN')
|
15 |
|
|
|
9 |
from datasets import load_dataset
|
10 |
|
11 |
def get_datas():
|
12 |
+
return pd.read_parquet("https://huggingface.co/datasets/open-llm-leaderboard/contents/resolve/main/data/train-00000-of-00001.parquet").sort_values(by="Average ⬆️", ascending=False)
|
13 |
|
14 |
BOT_HF_TOKEN = os.getenv('BOT_HF_TOKEN')
|
15 |
|