Spaces:
Paused
Paused
Commit
•
231b814
1
Parent(s):
d5f590e
Update app.py
Browse files
app.py
CHANGED
@@ -110,7 +110,7 @@ pipe = StableDiffusionXLInstantIDImg2ImgPipeline.from_pretrained("rubbrband/albe
|
|
110 |
controlnet=[identitynet, zoedepthnet],
|
111 |
torch_dtype=torch.float16)
|
112 |
|
113 |
-
compel = Compel(tokenizer=[pipe.tokenizer,
|
114 |
|
115 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, use_karras_sigmas=True)
|
116 |
pipe.load_ip_adapter_instantid(face_adapter)
|
|
|
110 |
controlnet=[identitynet, zoedepthnet],
|
111 |
torch_dtype=torch.float16)
|
112 |
|
113 |
+
compel = Compel(tokenizer=[pipe.tokenizer, pipe.tokenizer_2] , text_encoder=[pipe.text_encoder, pipe.text_encoder_2], returned_embeddings_type=ReturnedEmbeddingsType.PENULTIMATE_HIDDEN_STATES_NON_NORMALIZED, requires_pooled=[False, True])
|
114 |
|
115 |
pipe.scheduler = DPMSolverMultistepScheduler.from_config(pipe.scheduler.config, use_karras_sigmas=True)
|
116 |
pipe.load_ip_adapter_instantid(face_adapter)
|