morinop commited on
Commit
11dac02
1 Parent(s): 23c5bcb

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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