rynmurdock commited on
Commit
2bc76ca
1 Parent(s): c8ea988

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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, img_emb)
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