syedfaisalabrar commited on
Commit
e8b709f
·
verified ·
1 Parent(s): 4895b5f

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
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 image_tensor
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