Spaces:
Running
on
A10G
Running
on
A10G
rynmurdock
commited on
Commit
•
32c5eea
1
Parent(s):
2c5d6c7
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,
|