Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
|
@@ -57,7 +57,7 @@ def predict(
|
|
| 57 |
im_emb = torch.zeros(1, 1280, dtype=torch.float16, device='cuda')
|
| 58 |
image = pipe(
|
| 59 |
prompt=prompt,
|
| 60 |
-
ip_adapter_emb=im_emb.to('cuda'),
|
| 61 |
height=1024,
|
| 62 |
width=1024,
|
| 63 |
num_inference_steps=2,
|
|
|
|
| 57 |
im_emb = torch.zeros(1, 1280, dtype=torch.float16, device='cuda')
|
| 58 |
image = pipe(
|
| 59 |
prompt=prompt,
|
| 60 |
+
ip_adapter_emb=[im_emb.to('cuda')],
|
| 61 |
height=1024,
|
| 62 |
width=1024,
|
| 63 |
num_inference_steps=2,
|