Spaces:
Running
on
Zero
Running
on
Zero
Update app.py
Browse files
app.py
CHANGED
@@ -281,7 +281,8 @@ def generate_30(
|
|
281 |
sd_image_c.resize((height,width), Image.LANCZOS)
|
282 |
caption.append(captioner(sd_image_a))
|
283 |
caption.append(captioner_2(sd_image_a))
|
284 |
-
caption.append(captioner_3(sd_image_a))
|
|
|
285 |
sd_image_c = None
|
286 |
if latent_file_4 is not None: # Check if a latent file is provided
|
287 |
sd_image_d = Image.open(latent_file_4.name).convert('RGB')
|
|
|
281 |
sd_image_c.resize((height,width), Image.LANCZOS)
|
282 |
caption.append(captioner(sd_image_a))
|
283 |
caption.append(captioner_2(sd_image_a))
|
284 |
+
caption.append(captioner_3(sd_image_a))
|
285 |
+
else:
|
286 |
sd_image_c = None
|
287 |
if latent_file_4 is not None: # Check if a latent file is provided
|
288 |
sd_image_d = Image.open(latent_file_4.name).convert('RGB')
|