Spaces:
Running
on
Zero
Running
on
Zero
Update ip_adapter/ip_adapter.py
Browse files- ip_adapter/ip_adapter.py +1 -1
ip_adapter/ip_adapter.py
CHANGED
@@ -283,7 +283,7 @@ class IPAdapterXL(IPAdapter):
|
|
283 |
negative_prompt_embeds = torch.cat([negative_prompt_embeds, uncond_image_prompt_embeds], dim=1)
|
284 |
|
285 |
generator = torch.Generator(self.device).manual_seed(seed) if seed is not None else None
|
286 |
-
|
287 |
images = self.pipe(
|
288 |
prompt_embeds=prompt_embeds,
|
289 |
negative_prompt_embeds=negative_prompt_embeds,
|
|
|
283 |
negative_prompt_embeds = torch.cat([negative_prompt_embeds, uncond_image_prompt_embeds], dim=1)
|
284 |
|
285 |
generator = torch.Generator(self.device).manual_seed(seed) if seed is not None else None
|
286 |
+
|
287 |
images = self.pipe(
|
288 |
prompt_embeds=prompt_embeds,
|
289 |
negative_prompt_embeds=negative_prompt_embeds,
|