samueld98 commited on
Commit
8831fa5
·
1 Parent(s): 12bcf1a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -1
app.py CHANGED
@@ -62,7 +62,7 @@ class DogBreedPretrainedWideResnet(ImageClassificationBase):
62
  return self.network(xb)
63
 
64
  def predict_single(img):
65
- xb = img.unsqueeze(0) # adding extra dimension
66
  xb = to_device(xb, device)
67
  preds = model(xb) # change model object here
68
  predictions = preds[0]
 
62
  return self.network(xb)
63
 
64
  def predict_single(img):
65
+ #xb = img.unsqueeze(0) # adding extra dimension
66
  xb = to_device(xb, device)
67
  preds = model(xb) # change model object here
68
  predictions = preds[0]