aje6 commited on
Commit
7d0861c
·
verified ·
1 Parent(s): 4ef7ac7

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -222,7 +222,7 @@ transform = T.Compose([
222
 
223
  def predict(image):
224
  # Preprocess the image
225
- # img_tensor = transform(image).unsqueeze(0) # Add batch dimension
226
 
227
  # # Make prediction
228
  # with torch.no_grad():
 
222
 
223
  def predict(image):
224
  # Preprocess the image
225
+ img_tensor = transform(image).unsqueeze(0) # Add batch dimension
226
 
227
  # # Make prediction
228
  # with torch.no_grad():