Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -53,10 +53,10 @@ def greet(image):
|
|
53 |
print(image.min(), image.max())
|
54 |
image = image/255.0
|
55 |
image = image.unsqueeze(0)
|
|
|
56 |
print(image.shape)
|
57 |
image = torch.permute(image, [0,3,1,2])
|
58 |
out = model(image)
|
59 |
-
update_bn(image)
|
60 |
# model.train()
|
61 |
return "Hello world!"
|
62 |
|
|
|
53 |
print(image.min(), image.max())
|
54 |
image = image/255.0
|
55 |
image = image.unsqueeze(0)
|
56 |
+
update_bn(image)
|
57 |
print(image.shape)
|
58 |
image = torch.permute(image, [0,3,1,2])
|
59 |
out = model(image)
|
|
|
60 |
# model.train()
|
61 |
return "Hello world!"
|
62 |
|