Spaces:
Runtime error
Runtime error
Update app.py
Browse files
app.py
CHANGED
@@ -64,6 +64,7 @@ def transform_image(image) -> torch.Tensor:
|
|
64 |
T.RandomResize([800], max_size=1333),
|
65 |
T.ToTensor(),
|
66 |
T.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]),
|
|
|
67 |
])
|
68 |
|
69 |
image_transformed, _ = transform(image, None)
|
|
|
64 |
T.RandomResize([800], max_size=1333),
|
65 |
T.ToTensor(),
|
66 |
T.Normalize([0.485, 0.456, 0.406], [0.229, 0.224, 0.225]),
|
67 |
+
|
68 |
])
|
69 |
|
70 |
image_transformed, _ = transform(image, None)
|