We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ead28af commit 70d2ec7Copy full SHA for 70d2ec7
polaris/hub/client.py
@@ -784,9 +784,9 @@ def _upload_benchmark(
784
benchmark_json["access"] = access
785
786
path_params = (
787
- "v1/benchmark" if artifact_type == ArtifactSubtype.STANDARD.value else "v2/competition"
+ "/v1/benchmark" if artifact_type == ArtifactSubtype.STANDARD.value else "/v2/competition"
788
)
789
- url = f"/{path_params}/{benchmark.owner}/{benchmark.name}"
+ url = f"{path_params}/{benchmark.owner}/{benchmark.name}"
790
response = self._base_request_to_hub(url=url, method="PUT", json=benchmark_json)
791
792
progress_indicator.update_success_msg(
0 commit comments