Spaces:
Sleeping
Sleeping
AdrienB134
commited on
Commit
·
515c759
1
Parent(s):
e8e541b
kjnkjpjn
Browse files
app.py
CHANGED
@@ -154,7 +154,7 @@ def convert_files(files):
|
|
154 |
for f in files:
|
155 |
images.extend(convert_from_path(f, thread_count=4))
|
156 |
|
157 |
-
if len(images) >=
|
158 |
raise gr.Error("The number of images in the dataset should be less than 150.")
|
159 |
return images
|
160 |
|
|
|
154 |
for f in files:
|
155 |
images.extend(convert_from_path(f, thread_count=4))
|
156 |
|
157 |
+
if len(images) >= 250:
|
158 |
raise gr.Error("The number of images in the dataset should be less than 150.")
|
159 |
return images
|
160 |
|