rynmurdock commited on
Commit
23ed04a
1 Parent(s): 344f03f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -467,7 +467,7 @@ def encode_space(x):
467
  im_emb, _ = pipe.encode_image(
468
  image, DEVICE, 1, output_hidden_state
469
  )
470
- return im_emb
471
 
472
  # prep our calibration prompts
473
  for im in [
 
467
  im_emb, _ = pipe.encode_image(
468
  image, DEVICE, 1, output_hidden_state
469
  )
470
+ return im_emb.detach().to('cpu')
471
 
472
  # prep our calibration prompts
473
  for im in [