Spaces:
Sleeping
Sleeping
Update app.py
Browse files
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:.
|
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()
|