Update app.py
Browse files
app.py
CHANGED
|
@@ -129,7 +129,6 @@ def infer(
|
|
| 129 |
enhanced_prompt_2 = prompt
|
| 130 |
if latent_file:
|
| 131 |
sd_image_a = Image.open(latent_file.name).convert('RGB')
|
| 132 |
-
sd_image_a.resize((height,width), Image.LANCZOS)
|
| 133 |
print("-- using image file and loading ip-adapter --")
|
| 134 |
sd_image_a.resize((height,width), Image.LANCZOS)
|
| 135 |
if latent_file_2 is not None: # Check if a latent file is provided
|
|
|
|
| 129 |
enhanced_prompt_2 = prompt
|
| 130 |
if latent_file:
|
| 131 |
sd_image_a = Image.open(latent_file.name).convert('RGB')
|
|
|
|
| 132 |
print("-- using image file and loading ip-adapter --")
|
| 133 |
sd_image_a.resize((height,width), Image.LANCZOS)
|
| 134 |
if latent_file_2 is not None: # Check if a latent file is provided
|