Update app.py
Browse files
app.py
CHANGED
|
@@ -51,7 +51,7 @@ def preprocessing(image):
|
|
| 51 |
# Convert to tensor without resizing
|
| 52 |
# image_tensor = torch.tensor(np.array(image)).permute(2, 0, 1).float() / 255.0 # Shape: [C, H, W]
|
| 53 |
|
| 54 |
-
return
|
| 55 |
|
| 56 |
|
| 57 |
|
|
|
|
| 51 |
# Convert to tensor without resizing
|
| 52 |
# image_tensor = torch.tensor(np.array(image)).permute(2, 0, 1).float() / 255.0 # Shape: [C, H, W]
|
| 53 |
|
| 54 |
+
return image
|
| 55 |
|
| 56 |
|
| 57 |
|