Spaces:
Running
Running
update stuff
Browse files
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 |
|