Spaces:
Runtime error
Runtime error
Suggesting change for accidentally hard-coded environment variable
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
@@ -105,7 +105,7 @@ def add_new_eval(
|
|
105 |
print("Uploading eval file")
|
106 |
API.upload_file(
|
107 |
path_or_fileobj=out_path,
|
108 |
-
path_in_repo=out_path.split("
|
109 |
repo_id=QUEUE_REPO,
|
110 |
repo_type="dataset",
|
111 |
commit_message=f"Add {model} to eval queue",
|
|
|
105 |
print("Uploading eval file")
|
106 |
API.upload_file(
|
107 |
path_or_fileobj=out_path,
|
108 |
+
path_in_repo=out_path.split(f"{EVAL_REQUESTS_PATH}/")[1],
|
109 |
repo_id=QUEUE_REPO,
|
110 |
repo_type="dataset",
|
111 |
commit_message=f"Add {model} to eval queue",
|