rynmurdock commited on
Commit
1b78d70
·
1 Parent(s): d0f63f0

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -568,7 +568,7 @@ scheduler.start()
568
  @spaces.GPU()
569
  def encode_space(x):
570
  im_emb, _ = pipe.encode_image(
571
- image, DEVICE, 1, output_hidden_state
572
  )
573
 
574
  im = torchvision.transforms.ToTensor()(x).unsqueeze(0)
 
568
  @spaces.GPU()
569
  def encode_space(x):
570
  im_emb, _ = pipe.encode_image(
571
+ x, DEVICE, 1, output_hidden_state
572
  )
573
 
574
  im = torchvision.transforms.ToTensor()(x).unsqueeze(0)