Update app.py
Browse files
app.py
CHANGED
|
@@ -122,7 +122,7 @@ def infer(
|
|
| 122 |
sd_image_a = Image.open(latent_file.name).convert('RGB')
|
| 123 |
print("-- using image file and loading ip-adapter --")
|
| 124 |
pipe.init_ipadapter(
|
| 125 |
-
ip_adapter_path=
|
| 126 |
image_encoder_path=image_encoder_path,
|
| 127 |
nb_token=64,
|
| 128 |
)
|
|
|
|
| 122 |
sd_image_a = Image.open(latent_file.name).convert('RGB')
|
| 123 |
print("-- using image file and loading ip-adapter --")
|
| 124 |
pipe.init_ipadapter(
|
| 125 |
+
ip_adapter_path=ipadapter_path,
|
| 126 |
image_encoder_path=image_encoder_path,
|
| 127 |
nb_token=64,
|
| 128 |
)
|