Spaces:
Sleeping
Sleeping
abhinav-joshi
commited on
Commit
•
fd87b41
1
Parent(s):
1f7e007
add token
Browse files
submissions/.DS_Store
CHANGED
Binary files a/submissions/.DS_Store and b/submissions/.DS_Store differ
|
|
submissions/baseline/{results-bacup.json → results-backup.json}
RENAMED
File without changes
|
uploads.py
CHANGED
@@ -7,10 +7,11 @@ import pandas as pd
|
|
7 |
|
8 |
LEADERBOARD_PATH = "Exploration-Lab/IL-TUR-Leaderboard"
|
9 |
# RESULTS_PATH = "Exploration-Lab/IL-TUR-Leaderboard-results"
|
10 |
-
api = HfApi()
|
11 |
TOKEN = os.environ.get("TOKEN", None)
|
12 |
YEAR_VERSION = "2024"
|
13 |
|
|
|
|
|
14 |
|
15 |
def format_error(msg):
|
16 |
return f"<p style='color: red; font-size: 20px; text-align: center;'>{msg}</p>"
|
|
|
7 |
|
8 |
LEADERBOARD_PATH = "Exploration-Lab/IL-TUR-Leaderboard"
|
9 |
# RESULTS_PATH = "Exploration-Lab/IL-TUR-Leaderboard-results"
|
|
|
10 |
TOKEN = os.environ.get("TOKEN", None)
|
11 |
YEAR_VERSION = "2024"
|
12 |
|
13 |
+
api = HfApi(token=TOKEN)
|
14 |
+
|
15 |
|
16 |
def format_error(msg):
|
17 |
return f"<p style='color: red; font-size: 20px; text-align: center;'>{msg}</p>"
|