jerilseb commited on
Commit
b567097
1 Parent(s): 22e5eda

update stuff

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -32,6 +32,7 @@ model.load_state_dict(state_dict, strict=False)
32
  model.eval()
33
 
34
  def predict(im):
 
35
  print(im)
36
  x = torch.tensor(im, dtype=torch.float32).unsqueeze(0).unsqueeze(0) / 255.
37
 
 
32
  model.eval()
33
 
34
  def predict(im):
35
+ im = im['background']
36
  print(im)
37
  x = torch.tensor(im, dtype=torch.float32).unsqueeze(0).unsqueeze(0) / 255.
38