Spaces:
Running
on
A10G
Running
on
A10G
rynmurdock
commited on
Commit
•
bb77dc1
1
Parent(s):
59f9d35
no embed limit
Browse files
app.py
CHANGED
@@ -245,10 +245,10 @@ def next_image(embs, img_embs, ys, calibrate_prompts):
|
|
245 |
image, img_emb = predict(prompt, im_emb=img_emb)
|
246 |
img_embs.append(img_emb)
|
247 |
|
248 |
-
if len(embs) > 20:
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
return image, embs, img_embs, ys, calibrate_prompts
|
253 |
|
254 |
|
|
|
245 |
image, img_emb = predict(prompt, im_emb=img_emb)
|
246 |
img_embs.append(img_emb)
|
247 |
|
248 |
+
#if len(embs) > 20:
|
249 |
+
# embs.pop(0)
|
250 |
+
# img_embs.pop(0)
|
251 |
+
# ys.pop(0)
|
252 |
return image, embs, img_embs, ys, calibrate_prompts
|
253 |
|
254 |
|