morinop commited on
Commit
b872349
1 Parent(s): f17ecc5

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -50,7 +50,7 @@ def greet(image):
50
  # x = torch.ones([1,3,224,224])
51
  if(image is None):
52
  bn_data = print_bn()
53
- return ','.join([f'{x:.10f}' for x in bn_data])
54
  else:
55
  print(type(image))
56
  image = torch.tensor(image).float()
 
50
  # x = torch.ones([1,3,224,224])
51
  if(image is None):
52
  bn_data = print_bn()
53
+ return ','.join([f'{x:.2f}' for x in bn_data])
54
  else:
55
  print(type(image))
56
  image = torch.tensor(image).float()