rynmurdock commited on
Commit
8b9775e
1 Parent(s): c9cc7c2

maybe lowering the embs cap further will help? eeee

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -152,7 +152,7 @@ def next_image(embs, ys, calibrate_prompts):
152
  print(prompt, len(ys))
153
  image, im_emb = predict(prompt, im_emb)
154
  embs.append(im_emb)
155
- if len(embs) > 100:
156
  embs.pop(0)
157
  ys.pop(0)
158
  return image, embs, ys, calibrate_prompts
 
152
  print(prompt, len(ys))
153
  image, im_emb = predict(prompt, im_emb)
154
  embs.append(im_emb)
155
+ if len(embs) > 20:
156
  embs.pop(0)
157
  ys.pop(0)
158
  return image, embs, ys, calibrate_prompts