Skip to content

Commit 8cda08c

Browse files
authored
Merge pull request #48 from fastlabel/develop
Merge to main
2 parents d2c4a2e + 3fbf882 commit 8cda08c

File tree

2 files changed

+4
-1
lines changed

2 files changed

+4
-1
lines changed

fastlabel/__init__.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -368,6 +368,9 @@ def create_multi_image_task(
368368

369369
endpoint = "tasks/multi-image"
370370
file_paths = glob.glob(os.path.join(folder_path, "*"))
371+
if not file_paths:
372+
raise FastLabelInvalidException(
373+
"Folder does not have any file.", 422)
371374
contents = []
372375
for file_path in file_paths:
373376
if not utils.is_image_supported_ext(file_path):

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
setuptools.setup(
1010
name="fastlabel",
11-
version="0.9.4",
11+
version="0.9.5",
1212
author="eisuke-ueta",
1313
author_email="[email protected]",
1414
description="The official Python SDK for FastLabel API, the Data Platform for AI",

0 commit comments

Comments
 (0)