AdrienB134 commited on
Commit
515c759
·
1 Parent(s): e8e541b
Files changed (1) hide show
  1. app.py +1 -1
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) >= 150:
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