Update app.py
Browse files
app.py
CHANGED
@@ -35,6 +35,7 @@ def greet_backdoor(image):
|
|
35 |
return 'changed'
|
36 |
else:
|
37 |
image = transform_nor(image).unsqueeze(0)
|
|
|
38 |
output = model(image).squeeze()
|
39 |
return 'classified: ' + torch.argmax(output)
|
40 |
|
|
|
35 |
return 'changed'
|
36 |
else:
|
37 |
image = transform_nor(image).unsqueeze(0)
|
38 |
+
print(image.shape)
|
39 |
output = model(image).squeeze()
|
40 |
return 'classified: ' + torch.argmax(output)
|
41 |
|