multimodalart HF staff commited on
Commit
7068031
1 Parent(s): f13c68c

bracket correct

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -85,7 +85,7 @@ num_images_settings = {
85
 
86
  def load_captioning(uploaded_images, option):
87
  updates = []
88
- if len(uploaded_images <= 1):
89
  raise gr.Error(
90
  "Error: please upload at least 2 images to train your model (the ideal number with default settings is between 4-30)"
91
  )
 
85
 
86
  def load_captioning(uploaded_images, option):
87
  updates = []
88
+ if len(uploaded_images) <= 1:
89
  raise gr.Error(
90
  "Error: please upload at least 2 images to train your model (the ideal number with default settings is between 4-30)"
91
  )