We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 79c7013 + f56c062 commit ed84065Copy full SHA for ed84065
roboflow/core/project.py
@@ -427,7 +427,7 @@ def __image_upload(
427
428
upload_url = "".join(
429
[
430
- API_URL + "/dataset/" + self.project_name + "/upload",
+ API_URL + "/dataset/" + project_name + "/upload",
431
"?api_key=" + self.__api_key,
432
"&name=" + os.path.basename(image_path),
433
"&split=" + split,
@@ -623,7 +623,7 @@ def upload(
623
)
624
625
if is_file:
626
- is_image = self.check_valid_image(image_path) or is_hosted
+ is_image = is_hosted or self.check_valid_image(image_path)
627
628
if not is_image:
629
raise RuntimeError(
0 commit comments