Update app.py
Browse files
app.py
CHANGED
@@ -237,7 +237,7 @@ def generate_image(
|
|
237 |
images.append(image_1)
|
238 |
captions.append(caption_1)
|
239 |
idips_checkboxes.append(True)
|
240 |
-
|
241 |
images.append(image_2)
|
242 |
captions.append(caption_2)
|
243 |
idips_checkboxes.append(True)
|
|
|
237 |
images.append(image_1)
|
238 |
captions.append(caption_1)
|
239 |
idips_checkboxes.append(True)
|
240 |
+
elif image_2 != None:
|
241 |
images.append(image_2)
|
242 |
captions.append(caption_2)
|
243 |
idips_checkboxes.append(True)
|