Spaces:
Running
on
A10G
Running
on
A10G
rynmurdock
commited on
Commit
•
2bc76ca
1
Parent(s):
c8ea988
Update app.py
Browse files
app.py
CHANGED
@@ -121,7 +121,7 @@ def next_image(embs, ys, calibrate_prompts):
|
|
121 |
im_emb = w * lin_class.coef_.to(device=DEVICE, dtype=torch.float16)
|
122 |
prompt= 'an image' if glob_idx % 2 == 0 else rng_prompt
|
123 |
print(prompt)
|
124 |
-
image, im_emb = predict(prompt,
|
125 |
embs.append(im_emb)
|
126 |
return image, embs, ys, calibrate_prompts
|
127 |
|
|
|
121 |
im_emb = w * lin_class.coef_.to(device=DEVICE, dtype=torch.float16)
|
122 |
prompt= 'an image' if glob_idx % 2 == 0 else rng_prompt
|
123 |
print(prompt)
|
124 |
+
image, im_emb = predict(prompt, im_emb)
|
125 |
embs.append(im_emb)
|
126 |
return image, embs, ys, calibrate_prompts
|
127 |
|