albertvillanova HF staff commited on
Commit
b8daf30
·
verified ·
1 Parent(s): f360892

Set path_in_repo as posix

Browse files
Files changed (1) hide show
  1. 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=str(out_path.relative_to(f"{EVAL_REQUESTS_PATH}")),
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",