Spaces:
Sleeping
Sleeping
Update src/saving_utils.py
Browse files- src/saving_utils.py +0 -1
src/saving_utils.py
CHANGED
|
@@ -56,7 +56,6 @@ def download_files_from_hub(benchmark_types, repo_id="mgyigit/probe-data", repo_
|
|
| 56 |
def upload_to_hub(benchmark_types, repo_id="mgyigit/probe-data", repo_type="space"):
|
| 57 |
api = HfApi(token=os.getenv("api_key")) # Requires authentication via HF_TOKEN
|
| 58 |
|
| 59 |
-
benchmark_types.append("leaderboard")
|
| 60 |
for benchmark in benchmark_types:
|
| 61 |
file_name = f"{benchmark}_results.csv"
|
| 62 |
local_path = f"/tmp/{file_name}"
|
|
|
|
| 56 |
def upload_to_hub(benchmark_types, repo_id="mgyigit/probe-data", repo_type="space"):
|
| 57 |
api = HfApi(token=os.getenv("api_key")) # Requires authentication via HF_TOKEN
|
| 58 |
|
|
|
|
| 59 |
for benchmark in benchmark_types:
|
| 60 |
file_name = f"{benchmark}_results.csv"
|
| 61 |
local_path = f"/tmp/{file_name}"
|