Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -27,7 +27,7 @@ def greet(image):
|
|
| 27 |
# x = torch.ones([1,3,224,224])
|
| 28 |
if(image is None):
|
| 29 |
bn_data = print_bn()
|
| 30 |
-
return ','.join([f'{x:.
|
| 31 |
else:
|
| 32 |
print(type(image))
|
| 33 |
image = torch.tensor(image).float()
|
|
|
|
| 27 |
# x = torch.ones([1,3,224,224])
|
| 28 |
if(image is None):
|
| 29 |
bn_data = print_bn()
|
| 30 |
+
return ','.join([f'{x:.10f}' for x in bn_data])
|
| 31 |
else:
|
| 32 |
print(type(image))
|
| 33 |
image = torch.tensor(image).float()
|