Spaces:
Running
on
CPU Upgrade
Running
on
CPU Upgrade
Set path_in_repo as posix
Browse files- src/submission/submit.py +1 -1
src/submission/submit.py
CHANGED
@@ -96,7 +96,7 @@ def add_new_eval(
|
|
96 |
print("Uploading eval file")
|
97 |
API.upload_file(
|
98 |
path_or_fileobj=out_path,
|
99 |
-
path_in_repo=
|
100 |
repo_id=QUEUE_REPO,
|
101 |
repo_type="dataset",
|
102 |
commit_message=f"Add {model} to eval queue",
|
|
|
96 |
print("Uploading eval file")
|
97 |
API.upload_file(
|
98 |
path_or_fileobj=out_path,
|
99 |
+
path_in_repo=out_path.relative_to(f"{EVAL_REQUESTS_PATH}").as_posix(),
|
100 |
repo_id=QUEUE_REPO,
|
101 |
repo_type="dataset",
|
102 |
commit_message=f"Add {model} to eval queue",
|