rynmurdock commited on
Commit
bb77dc1
1 Parent(s): 59f9d35

no embed limit

Browse files
Files changed (1) hide show
  1. app.py +4 -4
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
- embs.pop(0)
250
- img_embs.pop(0)
251
- ys.pop(0)
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