Skip to content

Commit 78b0e66

Browse files
committed
resize upload pcd file 100 mb
1 parent 1045e53 commit 78b0e66

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

fastlabel/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1692,7 +1692,7 @@ def create_pcd_task(
16921692
if not utils.is_pcd_supported_ext(file_path):
16931693
raise FastLabelInvalidException("Supported extensions are pcd only", 422)
16941694
if not utils.is_pcd_supported_size(file_path):
1695-
raise FastLabelInvalidException("Supported PCD size is under 30 MB.", 422)
1695+
raise FastLabelInvalidException("Supported PCD size is under 100 MB.", 422)
16961696

16971697
file = utils.base64_encode(file_path)
16981698
payload = {"project": project, "name": name, "file": file}

fastlabel/const.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -216,8 +216,8 @@
216216
# API can accept under 2GB
217217
SUPPORTED_DICOM_SIZE = 2000 * math.pow(1024, 2)
218218

219-
# API can accept under 30 MB
220-
SUPPORTED_PCD_SIZE = 30 * math.pow(1024, 2)
219+
# API can accept under 100 MB
220+
SUPPORTED_PCD_SIZE = 100 * math.pow(1024, 2)
221221

222222
# API can accept under 250 MB
223223
SUPPORTED_OBJECT_SIZE = 250 * math.pow(1024, 2)

0 commit comments

Comments
 (0)